Bug 400269 - When scaling is applied, contextual menu in the systray has wrong size for icons
Summary: When scaling is applied, contextual menu in the systray has wrong size for icons
Status: RESOLVED DUPLICATE of bug 366088
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.13.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-24 22:20 UTC by Luca Carlon
Modified: 2021-07-26 18:15 UTC (History)
2 users (show)

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


Attachments
Wrong size in contextual menu. (139.91 KB, image/png)
2018-10-24 22:20 UTC, Luca Carlon
Details
This is a contextual menu in konsole which is perfectly sized. (69.33 KB, image/png)
2018-10-24 22:21 UTC, Luca Carlon
Details
This is another menu showing icons not properly size. This one is opened on the title bar. (96.63 KB, image/png)
2018-10-24 22:22 UTC, Luca Carlon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Carlon 2018-10-24 22:20:47 UTC
Created attachment 115881 [details]
Wrong size in contextual menu.

When scaling is applied on a high dpi screen, the contextual menu opened in some locations does not appear entirely scaled. In some other contexts it is drawn perfectly. I attach a few examples.


STEPS TO REPRODUCE
1. Set scaling to 2 on a high dpi screen on X11.
2. Open the contextual menu on the systray.
3. Now try to open it in konsole, for instance.

OBSERVED RESULT
Icons in the menu seem to not be scaled. The font seems the be scaled properly instead.


EXPECTED RESULT
Icons should be scaled.

SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION
I'm assigning the bug to systray, but this also happens in other contexts. Please someone correct this value.
Comment 1 Luca Carlon 2018-10-24 22:21:26 UTC
Created attachment 115882 [details]
This is a contextual menu in konsole which is perfectly sized.
Comment 2 Luca Carlon 2018-10-24 22:22:12 UTC
Created attachment 115883 [details]
This is another menu showing icons not properly size. This one is opened on the title bar.
Comment 3 David Edmundson 2018-10-24 22:47:36 UTC

*** This bug has been marked as a duplicate of bug 356446 ***
Comment 4 Nate Graham 2021-07-26 18:15:22 UTC

*** This bug has been marked as a duplicate of bug 366088 ***