Bug 297253

Summary: Left panel remains narrow even after window has been resized to a larger size
Product: [Applications] dolphin Reporter: Antoine <alecail>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: alecail, bugseforuns, jlp, kde, nate, notuxius
Priority: LO    
Version: 2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Antoine 2012-04-01 16:45:56 UTC
When the main window is resized to a small size by the user, the left panel resizes accordingly, i.e. it becomes narrow. When the main window is resized to a larger size, the left panel width doesn't change. It forces the user to resize the left panel by hand.
Comment 1 Peter Penz 2012-04-01 18:45:29 UTC
Thanks for the report. This is the default behavior of the Qt-panels but we can consider to implement a more clever relayout in Dolphin.
Comment 2 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:21:32 UTC
Resetting assignee to default as per bug #305719
Comment 3 Kai Uwe Broulik 2014-10-16 12:20:01 UTC
This is especially an annoyance when playing games at lower resolution, the window will naturally become quite small and then you're left with tiny panels.
Comment 4 Frank Reininghaus 2014-10-16 17:40:18 UTC
(In reply to Kai Uwe Broulik from comment #3)
> This is especially an annoyance when playing games at lower resolution, the
> window will naturally become quite small and then you're left with tiny
> panels.

I see that this can be annoying, but if I am not mistaken, the same happens in *every* KDE/Qt application which uses QDockWidgets, right? This means that implementing a Dolphin-specific hack to change the behavior is rather pointless. This must be changed in Qt itself, or maybe in KXMLGuiWindow.

In any case, I'm not really sure how the behavior should be changed. Increasing the panel width every time the window is made wider could also be annoying, I'm afraid. And storing some kind of window size history, which includes the sizes of all QDockWidgets, such that they can be restored to their original sizes if the size of the entire window reaches a previous state, would probably be very complicated and bug-prone.
Comment 5 Christoph Feck 2014-10-24 23:30:02 UTC
> This is especially an annoyance when playing games at lower resolution

Back in 1985, the AmigaOS nicely solved this problem by giving games a separate framebuffer with its own resolution (simply called "Screens"). Lets see if Wayland has a solution.

To me, this is a WONTFIX.
Comment 6 Alexander Mentyu 2018-08-08 13:34:53 UTC
Left panel width isn't changing after Dolphin window size change in both X11 and Wayland.
Left panel width is changing for example in qBittorrent app 

Distribution: KDE neon Developer Edition
Kernel: 4.15.0-29-generic
Plasma: 5.13.80
Apps: 18.11.70
Qt: 5.11.1
Frameworks: 5.48.0
Comment 7 Nate Graham 2018-12-31 14:13:53 UTC
> Increasing the panel width every time the window is made wider could also be annoying
Agreed. The proposed behavior would need to be *very* smart or else it would drive people crazy.