Bug 322347 - Amarok doesn't remember the size it was closed
Summary: Amarok doesn't remember the size it was closed
Status: RESOLVED DUPLICATE of bug 319977
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.8-git
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 2.8
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-14 13:25 UTC by Myriam Schweingruber
Modified: 2014-05-08 18:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Myriam Schweingruber 2013-07-14 13:25:53 UTC
Amarok doesn't remember it was closed in maximized mode, it always opens in the default size since v2.7.90-28-g28daff8

Apparently the window size is not written to amarokrc anymore
Comment 1 Mark Kretschmann 2013-07-16 08:03:01 UTC
Please paste the contents of the [MainWindow] group from amarokrc.
Comment 2 Myriam Schweingruber 2013-07-16 09:25:18 UTC
[MainWindow]
Height 1200=713
Height 600=601
Height 768=437
State=AAAA/wAAAAD9AAAAAQAAAAAAAAQ2AAACffwBAAAAA/sAAAAkAE0AZQBkAGkAYQAgAFMAbwB1AHIAYwBlAHMAIABkAG8AYwBrAQAAAAAAAAErAAAAfAEAAAX7AAAAGABDAG8AbgB0AGUAeAB0ACAAZABvAGMAawEAAAEuAAABvwAAAFABAAAF+wAAABoAUABsAGEAeQBsAGkAcwB0ACAAZABvAGMAawEAAALwAAABRgAAASABAAAFAAAAAAAAAn0AAAAEAAAABAAAAAgAAAAI/AAAAAEAAAACAAAAAgAAABYATQBhAGkAbgBUAG8AbwBsAGIAYQByAQAAAAD/////AAAAAAAAAAAAAAAYAFMAbABpAG0AIABUAG8AbwBsAGIAYQByAAAAAAD/////AAAAAAAAAAA=
ToolBarsMovable=Disabled
Width 1366=906
Width 1920=1078
Width 800=801

What is this long hash for btw?
Comment 3 Mark Kretschmann 2013-07-16 10:59:50 UTC
The hash is the state of the dock windows. Qt stores it that way.

Regarding the bug: Please try removing the Height and Width lines.
Comment 4 Myriam Schweingruber 2013-07-16 11:16:39 UTC
Tried that by removing all height and width definitions in amarokrc for the Main Window, didn't help. The same state is written again and not updated when one closes the application in maximized state.
Comment 5 Mark Kretschmann 2013-08-03 08:39:11 UTC
Impossible to reproduce here. I'm pretty sure it's not an Amarok issue.
Comment 6 Myriam Schweingruber 2014-04-11 08:21:05 UTC
This still happens with current git, v2.8.0-309-g4a29769
Comment 7 vedant agarwala 2014-04-13 13:16:16 UTC
I cannot reproduce it in v2.8.0-310-g0f95f81

Whether amarok is closed when minimized or restored, it opens with same dimensions.
Comment 8 vedant agarwala 2014-04-13 13:26:11 UTC
I am unable to reproduce it in v2.8.0-310-g0f95f81.
Even after closing amarok while in tray and when restored, the dimensions are retained on next amarok start.
Comment 9 Myriam Schweingruber 2014-04-13 23:58:34 UTC
Do you have two screens? Apparently this only happens with a dual screen setup. Reproducible every time.
Comment 10 Dan Meltzer 2014-05-08 18:13:07 UTC

*** This bug has been marked as a duplicate of bug 319977 ***