Bug 490325 - krunner dialog stuck at fixed width after Frameworks 6.4.0 update, regardless of font size
Summary: krunner dialog stuck at fixed width after Frameworks 6.4.0 update, regardless...
Status: RESOLVED NOT A BUG
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 6.1.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-15 20:52 UTC by RedBearAK
Modified: 2024-12-22 10:33 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RedBearAK 2024-07-15 20:52:42 UTC
SUMMARY

After updating from Frameworks 6.3.0 to 6.4.0, a font size adjustment setting in `~/.config/krunnerrc` will still change the font size, but the overall size of the `krunner` dialog will no longer adjust itself to the enlarged font size. 

Prior to the most recent update on Tumbleweed, I had used a trick from some very old Reddit posts (~5yrs) to change the font size, which caused the `krunner` dialog to be much larger and easier to notice on my dark theme environment. 

Seems that something was introduced that causes the dialog to now stick to a fixed width. Height still seems to grow the same way it did before, when there are a lot of search results to display. The fixed width also appears to hide the "Delete" icon/button that would normally be in the right end of the search field. 

STEPS TO REPRODUCE

Open your `~/.config/krunnerrc` file and insert these lines: 

```
[General]
font=Noto Sans,20,-1,5,65,0,0,0,0,0
migrated=false
```

Kill the `krunner` process, and invoke the shortcut to start it again. 


OBSERVED RESULT

On Frameworks 6.3.0, the entire dialog will grow to adapt. If it's set to appear in the center of the screen, the search results may even go below the bottom screen edge. 

On Frameworks 6.4.0, the dialog will grown only vertically. The font will still be larger, but will be cut off by the fixed width. 


EXPECTED RESULT

The `krunner` dialog should be allowed to grow vertically and horizontally to adapt to larger font sizes. (Or vice versa.)


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20240714 / Plasma 6.1.2
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION

Reddit post with another user reporting the issue before it happened to me: 

https://new.reddit.com/r/kde/comments/1e2s1dj/increasing_krunner_font_size_doesnt_increase_its/
Comment 1 RedBearAK 2024-07-15 20:55:14 UTC
The thing about the "Delete" button was wrong, it still shows up after typing something, even in the restricted-width dialog while using a large font.
Comment 2 David Edmundson 2024-07-18 13:59:11 UTC
Only settings exposed in the UI are supported