Bug 467710

Summary: quickopenplugin width to small on 4k Monitor
Product: [Applications] kdevelop Reporter: Michael Dluhosch <michael.dluhosch>
Component: UI: generalAssignee: kdevelop-bugs-null
Status: REPORTED ---    
Severity: wishlist CC: mail
Priority: NOR    
Version First Reported In: 5.7.211203   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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().