Bug 390266 - Krunner window width should be adjustible
Summary: Krunner window width should be adjustible
Status: CONFIRMED
Alias: None
Product: krunner
Classification: Plasma
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-11 13:36 UTC by Lukas Ba.
Modified: 2025-11-18 12:26 UTC (History)
9 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Ba. 2018-02-11 13:36:19 UTC
Krunner cuts off the text of elements shown in the results list if their text is too long. At the same time the krunner window is smaller than the screen size allows. Increasing the krunner window width makes more effective use of the available screen real estate, shows more text, making it easier to identify the correct result.

The krunner window width should be a percentage of the screen size close to 100%. Since krunner appears on top of other Windows and disappears after you stop using it, it can take as much screen space as it wants.

As a workaround i have increased the krunner window width using a window rule with much success.
Comment 1 Nate Graham 2018-02-12 22:15:30 UTC
People already complain that panels and menus in Plasma are too big and take up too much of their screen. Maybe we could make KRunner's width adjustable, within sane minimum and maximum values.
Comment 2 Lukas Ba. 2018-02-13 11:58:14 UTC
Yes, adjustable width is better than changing the default. Although this feature will probably take a lot longer to complete than just changing the default width number.
Searching for bugs there don't seem to be any bug reports complaining that specifically krunner is too large. Since krunner is not constantly visible it doesnt really take away from your screen space, unlike the taskbar.
Comment 3 Oleg Solovyov 2018-07-17 14:16:10 UTC
Would you prefer stretching KRunner window or word wrapping?
Comment 4 Øystein Steffensen-Alværvik 2019-10-13 08:56:15 UTC
Is there a reason that the search widget by default is wider than KRunner?
Comment 5 Nate Graham 2019-10-13 14:15:12 UTC
Probably not. :)
Comment 6 Øystein Steffensen-Alværvik 2019-10-13 18:37:39 UTC
(In reply to Nate Graham from comment #5)
> Probably not. :)

Well, it's convenient. :-) Now I can search for a document and see the full title.
Comment 7 Dashon 2021-03-26 23:10:10 UTC
I'm also intrested in an adjustable width. I tried playing around with QT_SCALE_FACTOR, but while it makes things bigger. It doesn't solve the cutoff issue.
Comment 8 Alexander Lohnau 2021-03-27 15:14:03 UTC
As a workaround you could edit /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/runcommand/RunCommand.qml line 97 and increase the Layout.minimumWidth and Layout.maximumWidth factors.
Comment 9 Dashon 2021-03-27 22:28:23 UTC
(In reply to Alexander Lohnau from comment #8)
> As a workaround you could edit
> /usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/runcommand/
> RunCommand.qml line 97 and increase the Layout.minimumWidth and
> Layout.maximumWidth factors.

Thanks. I was actually looking for somethinike this, but I was playing around with the wrong files.
Comment 10 Jens Lallensack 2025-11-18 12:26:46 UTC
It is apparently no longer possible to set a special window rule for krunner to make its window wider (the option is greyed out), so I do not have a workaround for this issue anymore.

If you google for "krunner make window wider", the multiple results make it obvious what pain this is to many users.

Just making krunner window width configurable would be the best solution.