Bug 494700

Summary: With non-default font or font size, app labels can overflow in portal-based application chooser
Product: [Plasma] xdg-desktop-portal-kde Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: CONFIRMED ---    
Severity: minor CC: aleixpol, nate
Priority: NOR    
Version: 6.2.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=493687
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Demonstration screenshot (for `#c0`).
Reproduction screencast (for `#c0`).

Description Roke Julian Lockhart Beedell 2024-10-13 22:20:21 UTC
Created attachment 174786 [details]
Demonstration screenshot (for `#c0`).

SUMMARY
-------
The status description/label, which communicates whether an entry in the grid of the more basic type of application picker is the current default, renders atop the icon of the grid entry beneath it.

STEPS TO REPRODUCE
------------------
1. Set a default application for the `.SVG` file type.
2. ```sh
   flatpak install 'https://dl.flathub.org/repo/appstream/org.godotengine.GodotSharp.flatpakref' && \
   flatpak update 'app/org.godotengine.GodotSharp/x86_64/stable' --commit=def1000919a3edb138b8373c6734e02b97a59bc840a1dc4fb03b93a239203def
   ```
3. Create a new project.
4. Select the default "icon.svg".
5. Invoke its context menu.
6. Select "Open in External Program".
7. Hover over the default application for that file type, or the entry beneath it.

OBSERVED RESULT
---------------
The status description/label renders atop the icon of the grid entry beneath it.

EXPECTED RESULT
---------------
The status description/label should not render atop the icon of the grid entry beneath it.

SOFTWARE/OS VERSIONS
--------------------
```YAML
      Operating System: Fedora Linux 40
    KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.7.0
            Qt Version: 6.7.2
        Kernel Version: 6.11.3-200.fc40.x86_64 (64-bit)
     Graphics Platform: Wayland
            Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
                Memory: 30.5 GiB of RAM
    Graphics Processor: AMD Radeon RX 5700
          Manufacturer: ASRock
          Product Name: X670E Taichi
```

ADDITIONAL INFORMATION
----------------------
I'm really surprised that this lacklustre GUI still exists. The superior, listed one available via Dolphin really should be utilized as a replacement for this retrograde, gridded/iconised one. Is it accidental, or deliberately not yet remediated?
Comment 1 Roke Julian Lockhart Beedell 2024-10-13 22:21:50 UTC
> I'm really surprised that this lacklustre GUI still exists. The superior, listed one available via Dolphin really should be utilized as a replacement for this retrograde, gridded/iconised one. Is it accidental, or deliberately not yet remediated?

Since the other one can't hold this information due to it being a list, and a grid would take too much horizontal space (amongst alternative, obvious issues) converting it to a table would remediate all of these simultaneously.
Comment 2 Roke Julian Lockhart Beedell 2024-10-13 22:24:20 UTC
Created attachment 174787 [details]
Reproduction screencast (for `#c0`).
Comment 3 Nate Graham 2024-11-25 21:26:29 UTC
More fallout from Bug 493687.