Summary: | Can't resize applet part with Qt-4.6 | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Rosetzky Cedric <loacoon> |
Component: | Context View | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | b.brachaczek, cesarg9, dl8.nir, Henning.Fleddermann, jthorell, lfranchi, mikko.cal, xbonio |
Priority: | NOR | Keywords: | release_blocker |
Version: | 2.3-GIT | ||
Target Milestone: | 2.2.2 | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Rosetzky Cedric
2009-11-10 15:01:36 UTC
confirmed, it's a bug in Qt but I think this report should stay open anyway, until it's fixed. Leo do you have a link to the upstream bug? Don't know if the target is realistic, some Qt bugs were fixed upstream already, though. Same problem here... After upgrading qt to v4.6 i have the same problem with amarok... try unlocking your layout, moving around some of the dockwidgets, and then moving them back to how it was. then lock it again. this fixed it for me. my best guess is that it's a change in the dockwidgets binary format that is causing issues, so when you manually redo the layout it rewrites the saved file and the bug goes away. I'm not entirely sure if I've got the same bug but it sure sounds similar and also appears to be caused by Qt-4.6(-rc1): I _can_ change the layout/size of the panels, so it appears to be not exactly the same as what you guys are experiencing , but as soon as I click on a menu in the titlebar or select a media source in the left panel it is reseted to how it was before. I can also confirm the workaround suggested my Leo Franchi. While it didn't work right at the first time it did after some extensive moving around and locking/unlocking. Thanks! :) You have exactly the same bug. I'll try the workaround ASAP. (In reply to comment #5) > I'm not entirely sure if I've got the same bug but it sure sounds similar and > also appears to be caused by Qt-4.6(-rc1): > I _can_ change the layout/size of the panels, so it appears to be not exactly > the same as what you guys are experiencing , but as soon as I click on a menu > in the titlebar or select a media source in the left panel it is reseted to how > it was before. > I can also confirm the workaround suggested my Leo Franchi. While it didn't > work right at the first time it did after some extensive moving around and > locking/unlocking. Thanks! :) I can confirm exactly the same behavior with Qt-4.6 final. Should be fixed, please test with git master. Thanks. commit ef455c94758465304463ea2e5c54d1b771c5ebfd Author: Mark Kretschmann <kretschmann@kde.org> Date: Fri Dec 4 16:06:06 2009 +0100 Fix layout resizing bug with Qt 4.6. Added a runtime version check, and if it's >4.5, we delete the layout file once, which appears to be incompatible between Qt versions. Please check for correctness, I can't currently test it here. BUG: 213990 The fix works perfectly for me. Thanks. It still dont work correctly for me, i can resize the applet part without problems but with any other action (resize the window, lock/unlock layout, close amarok and open it again) it resets the layout so any resize operation is useless. Tested with amarok-GIT, qt 4.6 and a clean config. Tried again with Amarok-GIT, Qt-4.6 and clean config. For me Amarok behaves correctly in all cases (resizing the window, locking/unlocking the layout, closing and opening the app; are you sure Cesar that you've compiled the latest git version?) except one which could hopefully be reproduced: 1. Maximize Amarok. Change the applets' sizes. 2. Unmaximize Amarok. You'll see that the applets' sizes doesn't correspond to those when maximized (this fact is nice). Change them. 3. Maximize again. You'll see that the applets' sizes were reset. Set them. 4. Unmaximize. The sizes are reset again. Don't change them this time. 5. Maximize. The applets' size are exactly the same as you've set in point 3. Amarok remembered them. I conclude that Amarok tries to remember the applets' sizes separately for maximized and unmaximized state. The bug is that actually it can't remember them both - once one is remembered, the other is forgotten. (In reply to comment #11) > Tried again with Amarok-GIT, Qt-4.6 and clean config. For me Amarok behaves > correctly in all cases (resizing the window, locking/unlocking the layout, > closing and opening the app; are you sure Cesar that you've compiled the latest > git version?) except one which could hopefully be reproduced: > > 1. Maximize Amarok. Change the applets' sizes. > 2. Unmaximize Amarok. You'll see that the applets' sizes doesn't correspond to > those when maximized (this fact is nice). Change them. > 3. Maximize again. You'll see that the applets' sizes were reset. Set them. > 4. Unmaximize. The sizes are reset again. Don't change them this time. > 5. Maximize. The applets' size are exactly the same as you've set in point 3. > Amarok remembered them. > > I conclude that Amarok tries to remember the applets' sizes separately for > maximized and unmaximized state. The bug is that actually it can't remember > them both - once one is remembered, the other is forgotten. Thanks for the clarification. I was testing the latest GIT and 2.2.1 with the above patch backported, and because i was seeing similar results (but not the same as you explained) with both i assumed the patch wasnt fixing the issue completly, my mistake :/. The bug that you describe is an annoying one too, but doesnt relate with this bug so this is fixed for me too. Thanks again. *** Bug 217797 has been marked as a duplicate of this bug. *** *** Bug 219086 has been marked as a duplicate of this bug. *** *** Bug 219400 has been marked as a duplicate of this bug. *** *** Bug 219400 has been marked as a duplicate of this bug. *** |