Window sizes of KDE applications (KDE 4.1) don't get stored anymore

Bug #286907 reported by Michael Ummels
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kubuntu-default-settings (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Jaunty by Luke Plant

Bug Description

Binary package hint: kubuntu-default-settings

On a fresh install of Kubuntu 8.10 Beta with latest updates, when I start a KDE application, resize the window and close it again, the next time I start the application it still uses the old window size as opposed to previous behaviour. In particular, this happens with Konqueror, whose default window size is very small.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: kubuntu-default-settings 1:8.10-13
ProcEnviron:
 LANGUAGE=en_US
 PATH=/home/username/bin:/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: kubuntu-default-settings
Uname: Linux 2.6.27-7-generic i686

Tags: apport-bug
Revision history for this message
Michael Ummels (urmel291) wrote :
description: updated
description: updated
Revision history for this message
Romain Despland (romaindespland) wrote :

I observed the same bug with intrepid up to date and with intrepid rc livecd.

Changed in kdebase-kde4:
status: New → Confirmed
Revision history for this message
Volker Götz (volker-sectionone) wrote :

The same here with intrepid release. It affects almost all applications and makes kubuntu intrepid not ready for day to day use for me.

Revision history for this message
Volker Götz (volker-sectionone) wrote :

The problem is still here with KDE 4.2 beta 2 on intrepid.

Revision history for this message
Michael Ummels (urmel291) wrote :

I finally found the reason for this bug. It is a bug kubuntu-default-settings, which supplies a default kwinrulesrc file. This file should set up some default sizes for certain applications. However, it has the effect that these sizes are used every time you open one of those applications. I've attached a modified kwinrulesrc, which you can put into $HOME/.kde/share/config. This should fix the bug.

Revision history for this message
Michael Ummels (urmel291) wrote :

Corrected package information.

description: updated
Revision history for this message
Michael Ummels (urmel291) wrote :

I disagree that this is a duplicate #292098 although the fix is the same. First, bug #292098 refers only to Okular. Second, it refers to a problem with the fullscreen mode of Okular, whereas this bug has nothing to do with fullscreen mode.

Revision history for this message
Michael Ummels (urmel291) wrote :

Sorry, the file I have attached only fixes the problem for Kate. This one should fix it for all affected applications.

Revision history for this message
Michael Ummels (urmel291) wrote :

Sorry, again. Apparently, the fix doesn't work too well. I guess, the best thing is to delete the rules in kwinrulesrc completely..

Revision history for this message
Volker Götz (volker-sectionone) wrote :

Deleting ~/.kde/share/config/kwinrulesrc has no effect, the file is recreated almost instantly.

I also deleted /usr/share/kubuntu-default-settings/kde4-profile/default/share/config/kwinrulesrc

But the window sizes still don't get saved. Instead of the small windows using kwinrulesrc the konqueror window now is whole screen wide and half screen high. Kontact's window seems to be the right size (widht/height), but the wrong place (x,y-coords).

Revision history for this message
Michael Ummels (urmel291) wrote :

That is strange that you still have a faulty behaviour after deleting /usr/share/kubuntu-default-settings/kde4-profile/default/share/config/kwinrulesrc. Did you try with other applications like Kate? Regarding the x,y-positioning of the window, I think, these do not get saved anyway (the placement is controlled by the "Placement" option in System Settings -> Window Behavior -> Advanced.

Did you take a look at System Settings -> Window Behavior -> Window Specific? After deleting the kubuntu-default kwinrulesrc You should have no rules listed there (except for one default rule maybe).

Revision history for this message
Musthafa Meeran (musthafameeran-deactivatedaccount) wrote :

I am also having the same problem in kde 4.2 in ubuntu 8.10....

Raised it in kde - http://bugs.kde.org/show_bug.cgi?id=182826 and got redirected here.

Could you please make the windows remember the size that is set by the user, whether it is a custom resize or a maximized size?

Thanks a lot...

Revision history for this message
Luke Plant (spookylukey) wrote :

Same problem on jaunty: this file should be deleted:

/usr/share/kubuntu-default-settings/kde4-profile/default/share/config/kwinrulesrc

I fixed it personally by removing all the 'initial default size' items in the 'Window specific' control panel page. Most users would have no idea how to do that, the default behaviour is very annoying, and completely unnecessary.

Revision history for this message
jc1985 (jc1985) wrote :

very annoying problem indeed... these rules are non intuitive, and should be deleted
I was trying to increase dolphin's width to take advantage of my large screen, but dolphin was keeping going back to its initial size! very frustrating !

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Oh, this got fixed in Jaunty yesterday. ((The rules were removed from the package plus a script to remove the rules on existing systems was added)

Changed in kubuntu-default-settings:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.