Version: (using KDE KDE 4.0.0) Installed from: Mandriva RPMs OS: Linux I think the short description says enough. The toolbars are placed the default way after quitting and then running Kopete again.
How do we reproduce this?
-Move a toolbar in the contact list somewhere else. -Quit Kopete. -Run Kopete again.
I think that this is because we don't do the normal saveState and loadState in KopeteWindow, but we do bits of info like the geometry and visibility separately, and toolbar positions certainly are not stored.
Confirmed in kde4 (Kopete 0.50.80).
I have this problem on chat windows. Every time I open a new chat window the toolbars are on the right. Is this the same bug?
Forgot to mention Kopete version: 0.60.1 on KDE 4.1 - Opensuse 11.0
Same here with kopete 0.60.2 form kdenetwork-4.1.2 on Fedora 9/10. The orientation is saved to ~/.kde/share/config/kopeterc but not honored: [General Options][Toolbar editGlobalIdentityBar] Index=1 ToolButtonStyle=TextUnderIcon [General Options][Toolbar mainToolBar] Index=0 ToolButtonStyle=IconOnly [General Options][Toolbar quickSearchBar] Hidden=true Index=2 ToolButtonStyle=TextUnderIcon [General Options Toolbar editGlobalIdentityBar] IconText=IconOnly Index=1 [General Options Toolbar mainToolBar] Index=0 Offset=2 Position=Left [General Options Toolbar quickSearchBar] Hidden=true IconText=IconOnly Index=0 NewLine=true
Would it be possible to workaround this bug by changing the default position of the toolbars? IMO the current default does not make sense, since in combination with the default width of the window, neither the main toolbar nor the search toolbar are usable. So I suggest to place the search toolbar beneath the main toolbar by default.
SVN commit 892985 by wstephens: Prior to KDE 4, Kopete was already using [General Options]->State for storing whether the mainwindow was visible. 'State' was adopted by QMainWindow for encoding its toolbar positions in Qt4, and by chance this field is located by in the KConfigGroup passed to KMainWindow::saveMainWindowSettings(), so QMainWindow's State was overwritten by Kopete and toolbar locations were lost. BUG:155853 M +4 -4 kopetewindow.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=892985
SVN commit 892988 by wstephens: Backport r892985 (Fix kopete toolbar location save/restore) CCBUG:155853 M +4 -4 kopetewindow.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=892988
Fixed in openSUSE KDE:KDE4:Factory:Desktop and openSUSE 11.1 (downstream BR: https://bugzilla.novell.com/show_bug.cgi?id=440801)