Bug 409226 - Default setting or option to show UI on only primary screen or user-specified screen
Summary: Default setting or option to show UI on only primary screen or user-specified...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Screen locking (show other bugs)
Version: 6.2.4
Platform: Neon Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 413103 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-06-27 00:57 UTC by kinghat
Modified: 2025-03-29 12:17 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kinghat 2019-06-27 00:57:45 UTC
SUMMARY
not sure where this should go but when you have more than one screen the login fields are on all monitor screens when in a login state rather than the expected primary display. this should at least be an option.

STEPS TO REPRODUCE
1. have kde
2. have multiple displays
3. witness all the logins.

OBSERVED RESULT
login fields on all areas where one would login to the system

EXPECTED RESULT
login should only be on the primary display or at least be an option

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon
(available in About System)
KDE Plasma Version: all version
KDE Frameworks Version: all version
Qt Version: all versions

ADDITIONAL INFORMATION
Comment 1 David Edmundson 2019-06-28 20:25:05 UTC
What problem is that solving?
Comment 2 Nate Graham 2019-06-28 20:45:41 UTC
It's purely aesthetic.

Speaking personally, this solves the "problem" of the presentation looking kind of awkward when you have more than one screen. It's nice to have the login UI only show up on the primary one (yes I know the concept of a primary screen is problematic and controversial).
Comment 3 kinghat 2019-06-28 22:24:23 UTC
the question could be asked in reverse, too. what problem is it solving to have a login on every monitor?

when i am ready to login i have no idea where im at, what screen is the active one. this applies for when you ctrl-alt-delete to get the options menu, i have no idea where im at and am naturally drawn to my primary monitor.

of win 10, gnome, and kde that i use frequently with multiple monitors, kde is the only one like this. its bugged me for a while.
Comment 4 Piotr Mierzwinski 2020-07-02 20:22:34 UTC
(In reply to kinghat from comment #3)
> the question could be asked in reverse, too. what problem is it solving to
> have a login on every monitor?
> 
> when i am ready to login i have no idea where im at, what screen is the
> active one. this applies for when you ctrl-alt-delete to get the options
> menu, i have no idea where im at and am naturally drawn to my primary
> monitor.
> 
> of win 10, gnome, and kde that i use frequently with multiple monitors, kde
> is the only one like this. its bugged me for a while.

And having one monitor with different resolution try to turn off one of them and check what will be result.
I will answer you. You will get two login screens on one, or in other words: one overlaps the other.
Here is solution: https://blog.victormendonca.com/2018/06/29/how-to-fix-sddm-on-multiple-screens/. Shortly saying, it relies on turning off other monitor(s) in moment of login.
Comment 5 Marco Ambu 2021-03-22 13:50:07 UTC
The other thing annoying is that I never know which screen I need to type my password to, so I select the password box on one screen and start typing but then realise that I needed to click on the password box on the other screen.
Comment 6 Nate Graham 2021-06-21 22:54:05 UTC
*** Bug 413103 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2022-11-04 20:13:23 UTC
This would automatically fix Bug 433563.
Comment 8 fanzhuyifan 2025-03-25 16:30:48 UTC
Git commit 305d88e050ffe4018544e6d4b7c5c6730ca5c0d4 by Yifan Zhu.
Committed on 25/03/2025 at 16:03.
Pushed by fanzhuyifan into branch 'master'.

lockscreen: only show UI on screen with mouse

Otherwise one appears on every screen, which is awkward. However, forcing it
to be on a particular screen is undesirable, since if that screen is turned off
but not unplugged, it may still be sending a signal to the OS and show up as a
valid screen to show things on.

To alleviate that concern, always show the UI on the screen with
pointer.

Test plan:
- use multiscreen setup and lock screen
- move mouse across screens, verify that only screen with pointer shows controls
- type some password without pressing enter, and repeat previous point
Related: bug 465566

M  +4    -1    desktoppackage/contents/lockscreen/LockScreenUi.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/305d88e050ffe4018544e6d4b7c5c6730ca5c0d4