Launchpad has imported 2 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=329375.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2013-12-29T17:30:58+00:00 Kde-1 wrote:

When using multiple X screens (3 in this case), kscreenlocker-greet
behaves very badly and insecurely.

It appears to be drawing the desktop background image/screensaver images
for all three X screens to the primary screen (0) and doesn't
blank/screensave the monitors belonging to screens 1 and 2 (which leaves
their contents in view), and it displays 2, maybe 3 greeter dialogs (1
may be hidden) on the primary X screen, but only accepts typed password
input in 1 of them (the primary X screen's dialog).

Reading the source-code at

ksmserver/screenlocker/greeter/greeterapp.cpp::UnlockApp::desktopResized()

it appears to iterate the screens via desktop()->screenCount() but
assumes there is only one X display when showing the ScreenSaverWindow.


Reproducible: Always

Steps to Reproduce:
1. Configure multiple X screens
2. Lock
Actual Results:  
All background images and screensavers are drawn to X screen 0

Expected Results:  
Each  background image and screensaver should be rendered on the correct X 
screen

I'm testing a possible fix which passes display()->screen(i) to the
QDeclarativeView constructor.

Photographs of the screens are attached to the referenced Ubuntu bug
report #1264821.

Reply at: https://bugs.launchpad.net/ubuntu/+source/kde-
workspace/+bug/1264821/comments/4

------------------------------------------------------------------------
On 2013-12-31T18:12:34+00:00 Kde-1 wrote:

Created attachment 84383
Render background and greeter on correct X screen

This patch is for version up to 4.11.4.

The re-factoring for Plasma 2 needs a little more research since it
replaces QDeclarativeView with a QQuickView, but the same solution
(passing  QApplication->display()->screen(i)v) looks to be doable if the
QWidget is exchangeable for the QWindow in the QQuickView constructor.

Reply at: https://bugs.launchpad.net/ubuntu/+source/kde-
workspace/+bug/1264821/comments/9


** Changed in: kdebase-workspace
       Status: Unknown => New

** Changed in: kdebase-workspace
   Importance: Unknown => High

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde-workspace in Ubuntu.
https://bugs.launchpad.net/bugs/1264821

Title:
  kscreenlock_greet insecure with multiple X screens

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdebase-workspace/+bug/1264821/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to