Bug 215221 - Amarok panes not resizable anymore
Summary: Amarok panes not resizable anymore
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.3.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 242969 245830 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-19 01:01 UTC by Janet
Modified: 2010-08-15 11:16 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot: comparison of my layout with 2.2.0 and after upgrade to 2.2.1 (98.50 KB, image/jpeg)
2009-11-19 01:03 UTC, Janet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Janet 2009-11-19 01:01:33 UTC
Version:           2.2.1 (using 4.3.2 (KDE 4.3.2), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.31-6.slh.2-sidux-686

I just upgraded from Amarok 2.2.0 to 2.2.1 and something definitely got wrong: all three panes now have the same width of about 1/3 of the window and they are not resizable anymore! The left pane is much too wide with a lot of unused space and the right playlist pane is much too narrow so that most of the information is not readable. Please how can I get back my layout with the wide playlist in the right pane, medium middle pane and narrow left pane? Layout isn't fixed and I could drag the toolbar to the bottom again, just the panes seem to have lost the ability for resizing.
Comment 1 Janet 2009-11-19 01:03:31 UTC
Created attachment 38436 [details]
screenshot: comparison of my layout with 2.2.0 and after upgrade to 2.2.1
Comment 2 Myriam Schweingruber 2009-11-19 11:11:16 UTC
Could you please restart Amarok again and see if this changes? Also, which Qt version do you use?
Comment 3 Mark Kretschmann 2009-11-19 11:16:41 UTC
Also try clicking the "Maximize" window button twice.
Comment 4 Janet 2009-11-21 01:23:39 UTC
I use Qt: 4.5.3. And it does now work for me.

Restarting didn't help, I restarted Amarok several times before I reported this bug. But thanks @ Mark Kretschmann, that solved the problem. After maximizing the window and reverting back to normal size the panes are resizable again - but that's not planned behaviour I guess.
Comment 5 Janet 2009-11-28 19:51:11 UTC
I am not sure if this should be closed as "worksforme"... It is possible to work around the problem that way but it is not the intended behaviour. I just temporarily changed my icon theme from oxygen to something else (and back) while amarok window was open - and the panes got resized again. This time the playlist went extremely wide and the middle and left pane were squeezed to the left. The playlist couldn't be shrinked and the two other panes were only resizable to the left, making them even more narrow. Again maximazing the window and closing amarok maximized helped. After restoring the window the panes were resizable again.
Comment 6 Myriam Schweingruber 2009-11-28 19:59:38 UTC
(In reply to comment #5)
> I am not sure if this should be closed as "worksforme"... 

Well, you did so yourself ...
Comment 7 Janet 2009-11-28 20:36:43 UTC
(In reply to comment #6)
> > I am not sure if this should be closed as "worksforme"... 
> 
> Well, you did so yourself ...

I know. :) 
But I didn't want to reopen it without feedback.
Comment 8 Myriam Schweingruber 2010-02-07 14:23:08 UTC
Is this still valid for Amarok 2.2.2 or current git?
Comment 9 Janet 2010-02-08 05:19:02 UTC
Yes, problem still does exist in 2.2.2 - I just changed the icon theme and amarok's reaction was as described above.
Comment 10 Myriam Schweingruber 2010-02-08 10:05:40 UTC
Thank you for the feedback.
Comment 11 Mark Kretschmann 2010-04-16 11:24:50 UTC
Sorry but this report is rather old, none of us can reproduce it.

Please reopen if this still happens with recent versions of Amarok (2.3.0 at this time) and KDE.
Comment 12 Janet 2010-06-14 00:31:59 UTC
This problem still exists with KDE 4.4.4 and Amarok 2.3.1: I changed the KDE icon theme via systemsettings while amarok was open and the middle pane (which is my left one because I only show that and the playlist, media sources is a tab) shrunk and is not resizable anymore. Pane width gets to (my) normal and is resizable on maximizing the window but reverts to narrow and not resizable when I demaximize the window again. It helps to close amarok maximized, the panes are resizable again after demaximizing the window.
Comment 13 Myriam Schweingruber 2010-07-26 23:43:44 UTC
*** Bug 242969 has been marked as a duplicate of this bug. ***
Comment 14 Myriam Schweingruber 2010-07-26 23:44:15 UTC
*** Bug 245830 has been marked as a duplicate of this bug. ***
Comment 15 Kevin Funk 2010-07-28 14:51:54 UTC
Please check if this is fixed for you. Worksforme.


commit a9d58934229ffa5e3d87319b11b334ccd81bb6c7
Author: Kevin Funk <krf@electrostorm.net>
Date:   Wed Jul 28 12:52:12 2010 +0200

    Fix MainWindow layout saving if window is hidden

    Qt restoreState() and saveState() methods require a valid layouting when
    loading/saving the state of the DockWidgets.
    On "Minimize to tray" the MainWindow is hidden which destroys this.
    Saving the state then gives us an invalid layout.
    Same goes for restoring, the state must be restored while the MainWindow
    is visible.
Comment 16 Christoph Feck 2010-07-28 18:08:35 UTC
Looking at comment #12 I would say this is a duplicate of bug 228390.
Comment 17 Myriam Schweingruber 2010-07-28 19:38:17 UTC
(In reply to comment #16)
> Looking at comment #12 I would say this is a duplicate of bug 228390.

What makes you think so? This is not about the labels next to the icons in the playlist AFAICS
Comment 18 Myriam Schweingruber 2010-08-15 11:16:56 UTC
Closing based on comment #15.