Bug 467710 - quickopenplugin width to small on 4k Monitor
Summary: quickopenplugin width to small on 4k Monitor
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: UI: general (other bugs)
Version First Reported In: 5.7.211203
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-23 09:32 UTC by Michael Dluhosch
Modified: 2023-03-23 11:27 UTC (History)
1 user (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 Michael Dluhosch 2023-03-23 09:32:34 UTC
Hi

Is it possible to make the width of the quickopen plugin a bit more intelligent? On my 4k monitor it is way to small (on a gnome desktop). I adjusted it manually by changing this line:
https://invent.kde.org/kdevelop/kdevelop/-/blob/master/plugins/quickopen/quickopenplugin.cpp#L1033

I would be happy with any of these solutions: Make it configurable, Scale it based on screen resolution, Scale it based on contents (with an upper bound?).

Kind Regards,
Michael
Comment 1 Sven Brauch 2023-03-23 11:27:16 UTC
Hi, feel free to submit a patch -- you can probably just multiply by devicePixelRatioF().