Review Request 123351: Display sddm loginprompt only on the primary monitor

David Edmundson david at davidedmundson.co.uk
Wed Apr 15 21:46:18 UTC 2015



> On April 15, 2015, 8:53 p.m., David Kahles wrote:
> > I just noticed another issue: when pressing the shutdown/reboot button, the login bar is shifted to the left and the shutdown/reboot bar comes in from the right. If you have a monitor left of the primary monitor, the loginbar is shifted to this monitor before it disappears. I suppose, if you have a monitor right to the primary monitor, the shutdown/reboot bar would first appear on the right monitor before it gets's shifted to the primary one.
> > A solution would be, to disable the animation of we have more than 1 monitor, or to "fade" (don't know the right term, i'm talking of increasing the visibility slowly) the shutdown/login bar in.
> > I don't know how the animation stuff works and don't have much time atm, so this might not go into 5.3 in time..
> 
> David Kahles wrote:
>     Do you have any better ideas or hints?
> 
> David Edmundson wrote:
>     clip: true on the stackview whilst animating.
> 
> David Kahles wrote:
>     Why only while animating? Are there performance reasons?

yes


- David


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123351/#review78999
-----------------------------------------------------------


On April 15, 2015, 8:57 p.m., David Kahles wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123351/
> -----------------------------------------------------------
> 
> (Updated April 15, 2015, 8:57 p.m.)
> 
> 
> Review request for Plasma and David Edmundson.
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> With the last comment, the login promt was displayed on every screen to
> fix a multiscreen issue. But this introduces a bug when two monitors
> are attached and the screens are configured to overlap and be mirrored
> on both monitors.
> This can happen when xorg is autoconfigured (kscreen isn't loaded in
> sddm). In this case, two loginbars are created (because there are two
> screens) but are both displayed on both monitors (because the
> screens are overlapping).
> 
> With this change, there is only one loginbar on the primary monitor,
> so this will not be a problem anymore. This is also the behavior of
> other sddm themes, as well as GDM and Windows.
> 
> SDDM-BUG: #265 (https://github.com/sddm/sddm/issues/265, it's fixed by the last change to the login promt, but the change introduced this bug)
> 
> 
> Diffs
> -----
> 
>   lookandfeel/contents/loginmanager/Main.qml 6d24e7f842c5f379946102c533fe57272b1e026b 
>   lookandfeel/contents/loginmanager/README.txt 0c5ed9f7fa27a29367ea741abedce3ddac74c549 
>   lookandfeel/contents/loginmanager/dummydata/screenModel.qml 981f364886102d833cac0f12ee173eb725cd45f5 
> 
> Diff: https://git.reviewboard.kde.org/r/123351/diff/
> 
> 
> Testing
> -------
> 
> Tested with one monitor (xorg autoconfiguration) and two monitors in the following configurations:
> - xorg autoconfiguration
> - both monitors side by side
> - configuration to get a behavior similar to this: https://cloud.githubusercontent.com/assets/48491/7106740/1cf262f2-e14c-11e4-84fa-1bf5dc6a2dfb.jpg (This is the mentioned bug)
>   This still draws the background multiple times, which could be overlapping depending on the order of the screens, which is ugly but usable. (Only in this configuration)
>   A fix for this would require to sort out overlapping screens and choose the biggest one in sddm, but this gets complicated if one screens doesn't contain an other one completely,
>   so I don't know how to fix this.
> 
> 
> Thanks,
> 
> David Kahles
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150415/8df5457b/attachment-0001.html>


More information about the Plasma-devel mailing list