Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 403396 Details for
Bug 549658
kde-base/kmix-4.14.3 - window popup appears in wrong screen
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch from e6cb7268 revision fixing the issue
kmixdockwidget-xinerama.patch (text/plain), 1.78 KB, created by
Tiger
on 2015-05-16 16:15:10 UTC
(
hide
)
Description:
Patch from e6cb7268 revision fixing the issue
Filename:
MIME Type:
Creator:
Tiger
Created:
2015-05-16 16:15:10 UTC
Size:
1.78 KB
patch
obsolete
>--- gui/kmixdockwidget.cpp 2015-05-16 17:22:55.000000000 +0200 >+++ gui/kmixdockwidget.cpp 2015-05-16 17:28:11.000000000 +0200 >@@ -268,33 +268,33 @@ > // Now handle Multihead displays. And also make sure that the dialog is not > // moved out-of-the screen on the right (see Bug 101742). > const QDesktopWidget* vdesktop = QApplication::desktop(); >- const QRect& vScreenSize = vdesktop->availableGeometry(dockAreaPopup); >+ int screenNumber = vdesktop->screenNumber(pos); >+ const QRect& vScreenSize = vdesktop->availableGeometry(screenNumber); > > if ((x + dockAreaPopup->width()) > (vScreenSize.width() + vScreenSize.x())) > { > // move horizontally, so that it is completely visible > x = vScreenSize.width() + vScreenSize.x() - dockAreaPopup->width() - 1; >- kDebug() >- << "Multihead: (case 1) moving to" << vScreenSize.x() << "," << vScreenSize.y(); >+ kDebug() << "Multihead: (case 1) moving to" << x << "." << y; > } > else if (x < vScreenSize.x()) > { > // horizontally out-of bound > x = vScreenSize.x(); >- kDebug() << "Multihead: (case 2) moving to" << vScreenSize.x() << "," << vScreenSize.y(); >+ kDebug() << "Multihead: (case 2) moving to" << x << "." << y; > } > > if ((y + dockAreaPopup->height()) > (vScreenSize.height() + vScreenSize.y())) > { > // move horizontally, so that it is completely visible > y = vScreenSize.height() + vScreenSize.y() - dockAreaPopup->height() - 1; >- kDebug() << "Multihead: (case 3) moving to" << vScreenSize.x() << "," << vScreenSize.y(); >+ kDebug() << "Multihead: (case 3) moving to" << x << "." << y; > } > else if (y < vScreenSize.y()) > { > // horizontally out-of bound > y = vScreenSize.y(); >- kDebug() << "Multihead: (case 4) moving to" << vScreenSize.x() << "," << vScreenSize.y(); >+ kDebug() << "Multihead: (case 4) moving to" << x << "." << y; > } > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 549658
: 403396