Bug 467564 - With only a single icon shown, icon sizing heuristics differ from those of other Panel widgets
Summary: With only a single icon shown, icon sizing heuristics differ from those of ot...
Status: RESOLVED DUPLICATE of bug 474083
Alias: None
Product: plasmashell
Classification: Plasma
Component: Lock/logout (show other bugs)
Version: 5.27.3
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-19 11:42 UTC by farline99
Modified: 2023-09-07 13:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot (35.64 KB, image/png)
2023-03-19 11:42 UTC, farline99
Details
36 Screenshot (44.32 KB, image/png)
2023-03-19 15:21 UTC, farline99
Details
34 Screenshot (36.01 KB, image/png)
2023-03-19 15:22 UTC, farline99
Details

Note You need to log in before you can comment on or make changes to this bug.
Description farline99 2023-03-19 11:42:27 UTC
Created attachment 157415 [details]
Screenshot

Screenshot is in attachment.
Fedora KDE, 5.27.3, 5.104.
Comment 1 Fushan Wen 2023-03-19 15:11:57 UTC
Cannot reproduce. Are you using any margin separator before the shutdown button?
Comment 2 farline99 2023-03-19 15:21:15 UTC
(In reply to Fushan Wen from comment #1)
> Cannot reproduce. Are you using any margin separator before the shutdown
> button?

I don't use separators. It scales correctly starting in 36 size, 200% HiDPI. But if you make panel bigger, then it does not scales correctly again. And the next step when it scaled correctly is 46. Screenshots below.
Comment 3 farline99 2023-03-19 15:21:54 UTC
Created attachment 157417 [details]
36 Screenshot
Comment 4 farline99 2023-03-19 15:22:12 UTC
Created attachment 157418 [details]
34 Screenshot
Comment 5 Nate Graham 2023-04-04 21:31:56 UTC
Can confirm.
Comment 6 Nate Graham 2023-04-13 20:03:13 UTC
*** Bug 468475 has been marked as a duplicate of this bug. ***
Comment 7 Adam Fontenot 2023-04-13 21:00:46 UTC
Since my bug was closed as a dupe of this, let me add an important addendum. The sizing issues not only affect the visible size of the icon, they also affect the click target size of the widget. In some cases, the click target will not include the top (or bottom?) edge of the widget, leading to failed clicks.

Importantly, the issues *do not* coincide. For instance:

 * panel width 26: tiny icon, full size click target
 * panel width 27: full size icon, small click target (!)
 * panel width 28: full size icon, full size click target

I actually was not able to find a case (with brief testing) where a setting yielded both a tiny icon and a small click target. This is surprising, but I assume the issues are probably still related anyway. (If not, please reopen https://bugs.kde.org/show_bug.cgi?id=468475).
Comment 8 Nate Graham 2023-09-07 13:42:47 UTC

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