[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 109904] KMix slider appears on wrong twinview screen
From: Christian Esken <esken () kde ! org>
Date: 2005-08-03 22:23:39
Message-ID: 20050803222339.17461.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=109904
------- Additional Comments From esken kde org 2005-08-04 00:23 -------
SVN commit 442805 by esken:
Port fix for Bug 109904 to trunk.
CCBUGS: 109904
M +4 -4 kmixdockwidget.cpp
--- trunk/KDE/kdemultimedia/kmix/kmixdockwidget.cpp #442804:442805
@ -264,12 +264,12 @
// moved out-of-the screen on the right (see Bug 101742).
QDesktopWidget* vdesktop = QApplication::desktop();
const QRect& vScreenSize = vdesktop->screenGeometry(_dockAreaPopup);
- if ( (x+_dockAreaPopup->width()) > (vScreenSize.width()) ) {
+ if ( (x+_dockAreaPopup->width()) > (vScreenSize.width() + vScreenSize.x()) ) {
// move horizontally, so that it is completely visible
- _dockAreaPopup->move(vScreenSize.width() - _dockAreaPopup->width() -1 , y);
+ _dockAreaPopup->move(vScreenSize.width() + vScreenSize.x() - _dockAreaPopup->width() -1 , y);
} // horizontally out-of bound
- else if ( x < 0 ) {
- _dockAreaPopup->move(0, y);
+ else if ( x < vScreenSize.x() ) {
+ _dockAreaPopup->move(vScreenSize.x(), y);
}
// the above stuff could also be implemented vertically
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic