Bug 480728

Summary: "Activities" mini program icon doesn't scale with scale factor
Product: [Plasma] plasmashell Reporter: yamagi
Component: Activity SwitcherAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: ivan.cukic, nate, niccolo.venerandi
Priority: NOR    
Version: 5.93.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:
Attachments: Screenshot showing the problem

Description yamagi 2024-02-02 10:59:21 UTC
Created attachment 165469 [details]
Screenshot showing the problem

When scaling is enabled and the "Activities" mini program is added to the panel, the icon of the current activity is rendered without scale. As soon as the panel is switched into configuration mode the correct scale factor is applied.


STEPS TO REPRODUCE
1. Make sure that a scale factor is configured, 175% in my case.
2. Add the "Activities" mini program to the panel.
3. Logout and login again.

OBSERVED RESULT
The "Activities" mini program displays it's icon without the scaling factor. It's too small, both in relation to the other panel items and the whole desktop. The scaling factor is correctly applied as soon as the panel is put into configuration mode.


EXPECTED RESULT
The "Actities" mini program should honor the scaling factor for it's icon.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux with KDE-Unstable repo
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.249.0
Qt Version:  6.7.0Beta2

ADDITIONAL INFORMATION
I'm attaching a screenshot. The problematic symbol is the second from left.
Comment 1 Nate Graham 2024-07-30 02:18:09 UTC
Git commit ba57723c4da8bb5f9e2e90a8583eb5ebc97d8994 by Nate Graham.
Committed on 29/07/2024 at 21:31.
Pushed by ngraham into branch 'master'.

applets/showActivityManager: Limit CompactRep size to huge

We do this for Kickoff, Kicker, and Application Dashboard; do it here
too for consistency and usbility's sake with very thick panels.
Related: bug 490880
FIXED-IN: 6.2.0

M  +4    -2    applets/showActivityManager/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/ba57723c4da8bb5f9e2e90a8583eb5ebc97d8994