Bug 364886 - Desktop components either grossly oversized or undersized when started with multiple monitors connected
Summary: Desktop components either grossly oversized or undersized when started with m...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.6.5
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-29 02:56 UTC by Gamblit
Modified: 2019-01-03 03:44 UTC (History)
4 users (show)

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


Attachments
Screenshot of Screen 1 (408.45 KB, image/jpeg)
2016-06-29 02:58 UTC, Gamblit
Details
Screenshot of all screens (278.11 KB, image/jpeg)
2016-06-29 02:58 UTC, Gamblit
Details
Shell environment (3.67 KB, text/plain)
2016-09-29 02:20 UTC, Gamblit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gamblit 2016-06-29 02:56:30 UTC
If a KDE session is started connected to multiple monitors (internal 1920x1200, two external 2048x1152), desktop components are in general very big, but the taskbar buttons text is very small. The problem does not exist if the session is started with only the laptop internal LVDS, and the other monitors are attached afterwards.

Reproducible: Always

Steps to Reproduce:
1. With machine shut down, connect multiple monitors
2. Start machine and login to KDE

Actual Results:  
The desktop icons, tray notifications, plasma-nm, etc are all oversized. The taskbar buttons text is undersized to the point of being unreadable.

Expected Results:  
Maintain correct sizing on all widgets

Running on a Lenovo W530 (NVidia proprietary driver), external monitors connected to a docking station. Running a triple head setup with internal LVDS panel at 1920x1200, two VGA panels at 2048x1152 each.
Comment 1 Gamblit 2016-06-29 02:58:07 UTC
Created attachment 99755 [details]
Screenshot of Screen 1
Comment 2 Gamblit 2016-06-29 02:58:43 UTC
Created attachment 99756 [details]
Screenshot of all screens
Comment 3 Gamblit 2016-07-29 02:13:57 UTC
Problem disappears if fonts are forced to 142 DPI in "kcmshell5 fonts", so the problem seems to be in DPI detection.

xrandr outputs correct information on screen sizes in millimeters, xdpyinfo is way off:

screen #0:
  dimensions:    6016x1152 pixels (1068x203 millimeters)
  resolution:    143x144 dots per inch

The actual DPI i'm forcing is 142, so it's not that far off from the detected one, but somehow it still gets all mangled if not forced to a DPI setting.
Comment 4 David Edmundson 2016-09-28 10:14:18 UTC
Can I see:
 - your plasma version
 - your Qt version
 - output of running "env" on a console.

Then reopen this bug
Comment 5 Gamblit 2016-09-29 02:19:23 UTC
- Plasma 5.7.5 (Fedora plasma-desktop-5.7.5-1.fc23.x86_64)
- Qt 4.8.7 (Fedora qt-4.8.7-18.fc23.x86_64)
Comment 6 Gamblit 2016-09-29 02:20:23 UTC
Created attachment 101336 [details]
Shell environment
Comment 7 Gamblit 2016-09-29 02:24:12 UTC
Reopening (i think, not sure which option to choose to reopen)
Comment 8 David Edmundson 2018-12-04 17:42:36 UTC
>- Qt 4.8.7 (Fedora qt-4.8.7-18.fc23.x86_64)

You probably have a Qt4 and a Qt5 installed. I needed the Qt5 version.

Do you still have this issue?

Can I also have your xrdb -q if so?
Comment 9 Rex Dieter 2018-12-04 19:08:46 UTC
fyi,
fedora 23 shipped qt5-qtbase-5.6.2-1.fc23 back then (though old and unsupported now)
Comment 10 Bug Janitor Service 2018-12-19 03:44:13 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 11 Bug Janitor Service 2019-01-03 03:44: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!