Bug 466047

Summary: With Octicons font, Text, Icons, Install/Remove buttons projecting out of their app's card boxes in Home tab and search results
Product: [Applications] Discover Reporter: Himprakash Deka <himprakashd>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aleixpol, nate
Priority: NOR    
Version First Reported In: 5.27.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Icons, text or both projecting out of card boxes of several apps specifically GIMP, GCompris, KMyMoney, Kdenlive, SuperTux, 0 A.D. etc.
Search Result: Look at the heading text of each app touching top border and the Install/Remove button protruding out through the bottom border in default Breeze theme

Description Himprakash Deka 2023-02-19 03:10:36 UTC
Created attachment 156471 [details]
Icons, text or both projecting out of card boxes of several apps specifically GIMP, GCompris, KMyMoney, Kdenlive, SuperTux, 0 A.D. etc.

SUMMARY
***
Just updated to Plasma 5.27 and noticed this. Look at the attached screenshot.
***


STEPS TO REPRODUCE
1. Just open Discover and go to Home tab

OBSERVED RESULT
In Home tab, Icons, text or both are projecting out through the bottom border of their app's card boxes for several apps specifically GIMP, GCompris, KMyMoney, Kdenlive, SuperTux, 0 A.D. etc and icons touching the bottom border for several others.
In search results, Install/Remove buttons projecting out through the bottom border of their app's card boxes for all apps. In Breeze Application style, text even touches the top border.

EXPECTED RESULT
Icons should be resized to fit in the vertical center and excess text should be replaced by "…"
Install/Remove buttons should be padded from the bottom border.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Not using scaling and display is in native resolution.
Also happening in default Breeze Icon theme for some apps.
Search result problem most severe in Breeze application style.
Comment 1 Himprakash Deka 2023-02-19 03:16:59 UTC
Created attachment 156472 [details]
Search Result: Look at the heading text of each app touching top border and the Install/Remove button protruding out through the bottom border in default Breeze theme
Comment 2 Nate Graham 2023-02-22 03:15:34 UTC
That is really weird. I can't reproduce it myself and I honestly have no idea how it could possibly be happening.

Shots in the dark:
- What font and font size are you using?
- Have you overridden the font DPI setting? What's it currently set to?
- Does it reproduce on both X11 and Wayland?
Comment 3 Bug Janitor Service 2023-03-09 03:45:37 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 4 Himprakash Deka 2023-03-09 04:23:46 UTC
(In reply to Nate Graham from comment #2)
> That is really weird. I can't reproduce it myself and I honestly have no
> idea how it could possibly be happening.
> 
> Shots in the dark:
> - What font and font size are you using?
> - Have you overridden the font DPI setting? What's it currently set to?
> - Does it reproduce on both X11 and Wayland?

I was using Octicons. I checked and reverting to default fonts did solve this problem. So the UI is somewhat breaking with octicons. Changing sizes doesn't seem to affect anything.  But shouldn't this work with any font? I would like to use octicons because I like it.
Comment 5 Nate Graham 2023-03-10 15:19:29 UTC
Octicons is a font? In your screenshot, the font doesn't look different to me (other than being vertically aligned incorrectly. Where can I get this Octicons font?
Comment 6 Bug Janitor Service 2023-03-25 03:45:35 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 7 Bug Janitor Service 2023-04-09 03:45:38 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!