Bug 452251 - Incorrectly handling default panels in multi-monitor setups with PRIME
Summary: Incorrectly handling default panels in multi-monitor setups with PRIME
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.24.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-04 06:11 UTC by Jeannie Stevenson
Modified: 2022-05-26 04:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeannie Stevenson 2022-04-04 06:11:43 UTC
When there is an external display connected over PRIME to a laptop that external display does not load anything until after SDDM launches KDE. This, in it of itself, isn't a problem but this is likely the cause of the problem I'm about to describe.

You see when logging into KDE the panel configured for the default monitor is loaded on the laptop's internal display, underneath/behind the laptop internal display's panel. This is likely because the external monitors are not active/detected until logging in.

KDE is probably
1. detecting that there are no external monitors at first
2. loading the default monitor's panel
3. then detecting the external display(s)
4. loading the panels for the internal display and other external displays

Leaving the internal display's panel on top of the default monitor's panel and leaving the default monitor with no panel at all.

I see two potential solutions. Either KDE adds some logic to load in panel's later after the external displays are detected or "refresh" the display setup similar to what happens every time a setting in Display Configuration is changed.

Alternatively, SDDM could be changed to detect and activate external monitors connected over PRIME and pass that information along to KDE.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Comment 1 Nate Graham 2022-04-06 18:16:46 UTC
> Alternatively, SDDM could be changed to detect and activate external monitors connected
> over PRIME and pass that information along to KDE.
That's a good idea regardless of what we do in KDE, and I'd encourage you to report it to https://github.com/sddm/sddm/issues.

In principle, the PRIME-connected external screen appearing after login shouldn't be a problem. Is that screen marked as "Primary" in System Settings > Display & Monitor > Display Configuration? If it's not, does the problem go away if you set it as the primary screen? The "primary monitor" setting mostly exists as a hint for Plasma to know where to put its main panel.
Comment 2 Bug Janitor Service 2022-04-21 04:35:00 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Jeannie Stevenson 2022-04-26 19:44:08 UTC
(In reply to Nate Graham from comment #1)
> In principle, the PRIME-connected external screen appearing after login
> shouldn't be a problem. Is that screen marked as "Primary" in System
> Settings > Display & Monitor > Display Configuration? If it's not, does the
> problem go away if you set it as the primary screen? The "primary monitor"
> setting mostly exists as a hint for Plasma to know where to put its main
> panel.

One of the external PRIME-connected displays is set as the primary monitor.
Comment 4 Bug Janitor Service 2022-05-11 04:35:03 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-05-26 04:35:53 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!