Bug 426059

Summary: Unplugging an external 1x scale monitor on X11, leaving only 2x scaled internal monitor, leads to incorrectly scaled desktop panel and wallpaper
Product: [Plasma] kwin Reporter: postix <postix>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: nate, postix
Priority: NOR Flags: postix: Wayland?
postix: X11+
Version First Reported In: 5.19.4   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: (External monitor plugged out) qdbus org.kde.KWin /KWin supportInformation
Screenshot 1: External monitor unplugged. Scaling 2.0
Screenshot 2: As screenshot 1 but Kate closed => Wallpaper can be seen.

Description postix 2020-09-01 13:00:03 UTC
Created attachment 131345 [details]
(External monitor plugged out) qdbus org.kde.KWin /KWin supportInformation

SUMMARY

I use 2560x1440px screen on my notebook with scaling 2.0. When I plugin an external TV with 1920x1080 via HDMI and set the output to the external screen only, the displayed screen is fine. 

However, when I unplug the HDMI cable, the desktop panel and wallpaper have scaling issues, while all other applications still scale fine.

Please see the screenshots.

SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.0
Kernel Version: 5.8.3-2-MANJARO
Graphics Processor: Mesa IntelĀ® HD Graphics 620 

ADDITIONAL INFORMATION
Scaling 2.0
Comment 1 postix 2020-09-01 13:01:09 UTC
Created attachment 131346 [details]
Screenshot 1: External monitor unplugged. Scaling 2.0
Comment 2 postix 2020-09-01 13:02:20 UTC
Created attachment 131347 [details]
Screenshot 2: As screenshot 1 but Kate closed => Wallpaper can be seen.
Comment 3 Nate Graham 2020-09-08 15:35:37 UTC
After you unplug the other screen and experience the bug, does it work again if you restart plasmashell with `plasmashell --replace`? If not, how about `kwin_x11 --replace`?
Comment 4 postix 2020-09-08 15:47:25 UTC
(In reply to Nate Graham from comment #3)
> After you unplug the other screen and experience the bug, does it work again
> if you restart plasmashell with `plasmashell --replace`? If not, how about
> `kwin_x11 --replace`?

I will test it and report next will when I have access to a/the external monitor / TV again.
Comment 5 postix 2020-09-08 15:48:07 UTC
* next week

(Sorry, cannot edit my post @Bugzilla)
Comment 6 Nate Graham 2020-09-08 15:48:47 UTC
No problem. :)
Comment 7 Bug Janitor Service 2020-09-23 04:33:14 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 8 Bug Janitor Service 2020-10-08 04:33:19 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!
Comment 9 postix 2020-10-14 17:22:12 UTC
Can indeed no longer reproduce it. ;)