Bug 165043

Summary: Dolphin opens with wrong window size
Product: [Unmaintained] kdelibs Reporter: Ivo Anjo <ivo>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: xavier.poirot
Priority: NOR    
Version: SVN   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot showing Korganizer with narrow main pane.
Correct (?) result.

Description Ivo Anjo 2008-06-26 21:19:21 UTC
Version:            (using KDE 4.0.83)
Installed from:    Unlisted Binary Package
OS:                Linux

I don't know how to reproduce this, I've tried time and time again to find a pattern, but I'm opening this bug to try and raise awareness for this issue.

Sometimes, after using dolphin using a split view, closing dolphin, and after a while you open a new dolphin window and the window is very narrow, it seems the file area saves the size it had while in split view, but it isn't in split view anymore, so it shouldn't use that size.

If the description is not very clear, I can upload a screenshot to show it.

I've even saw this "narrow-dolphin-effect" on one of Aaron's screencasts/presentations (don't remember which), so I think I'm not alone having this problem.
Comment 1 Peter Penz 2008-06-26 21:36:05 UTC
Hm, very strange... Dolphin uses the default mechanism of KXmlGuiWindow for saving the window size (-> calling setAutoSaveSettings()), so if there is an issue it would be somewhere in kdelibs and might also affect other applications.

The file area size is not saved at all by Dolphin. Do you have turned on the [x] Split View setting when starting Dolphin?

Anyway thanks for the hint - if there is really a problem in kdelibs or Dolphin I'm sure I'll get similar reports and maybe someone is able to find a way to reproduce it.
Comment 2 Ivo Anjo 2008-06-26 21:48:02 UTC
Yeah it is very strange, and it has been bugging me since before 4.0 final :), but it occurs only rarely.

My Split View setting is off.
Comment 3 Ivo Anjo 2008-06-27 11:18:59 UTC
I think I just found a way to reproduce this.
Open dolphin, maximize it and then split the view.
Now open another dolphin window (without closing the first one), and it will (sometimes) open maximized too.
Now un-maximize the second dolphin, and the window will be narrow, instead of the original size.

After testing half a dozen times, it seems the second one doesn't always open maximized, but when it does, the "bug" is triggered -> when you un-maximize, the original size you had is lost.
Comment 4 Ivo Anjo 2008-06-27 11:49:26 UTC
Sorry for the spam, but playing with it some more it seems to be unrelated to the split, as I previously thought.

Just doing this: open dolphin, and resize it to some size; then maximizing it, then closing it.
Next time you open dolphin, it will start maximize, but when you un-maximize it, your original size has been lost, and it will have a narrow size, that gets even worse when you have places and information on each side, because it leaves almost no space for the files in the middle.
Comment 5 Peter Penz 2008-06-27 12:10:12 UTC
Thanks Ivo for the update! I think this issue already exists in KDE 3: I faced the same nasty behavior when using Kontact (Kontact is the only application I use in maximized mode and sometimes - very rarely - unmaximize). I thought this was Kontact specific :-)

I won't have much time for KDE during the next days, but will check this ASAP (or at least reassign it to kdelibs if I cannot fix it myself in a reasonable time - might be a quite tricky issue in combination with the window manager).
Comment 6 Dotan Cohen 2008-12-06 02:34:25 UTC
Created attachment 29077 [details]
Screenshot showing Korganizer with narrow main pane.

I can also confirm that Kontact in KDE 3.5.10 opens in a state where the main view pane is so narrow that it is nearly useless and the panels take up the whole window. I thought that the issue was related to the fact that my system is Right To Left (Hebrew).
Comment 7 Peter Penz 2009-01-04 21:13:23 UTC
Created attachment 29902 [details]
Correct (?) result.
Comment 8 Ivo Anjo 2009-01-04 22:07:49 UTC
Sorry, is this fixed?

I tried with latest kde4daily rev (from today) and it seems it's not, and I didn't really understand what the screenshot was showing.
Comment 9 Peter Penz 2009-01-05 11:36:17 UTC
No, this is not fixed AFAIK. I accidently added the attachment to this bug report instead of bug 164185 -> please ignore the attachment... I've reassigned this issue to kdelibs.
Comment 10 Xavier Poirot 2011-09-08 06:31:31 UTC
Hi,

I am experiencing this bug too.
Here is a way to reproduce it :
- Open Dolphin
- Tile it by dragging it on a screen corner. It's gonna take a preset size.
- Stop application now or remove tiling and resize, it doesn't matter.
- When you will restart, it is gonna take the tiled sized without being tiled. (even if you resize it after, it's gonna restart again with tiled size)
Comment 11 Christoph Feck 2011-12-20 01:53:07 UTC

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