[Bug 178191] New: [PATCH] Save/restore windows position
marainos
marainos at yahoo.it
Fri Dec 19 15:59:12 GMT 2008
http://bugs.kde.org/show_bug.cgi?id=178191
Summary: [PATCH] Save/restore windows position
Product: kde
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: unassigned-bugs at kde.org
ReportedBy: marainos at yahoo.it
Version: (using Devel)
OS: Linux
Installed from: Compiled sources
I modified kmainwindow.cpp, kmainwindow.h and kmainwindow_p.h adding the option
to automaticaly store and retreive windows position.
As stated in http://doc.trolltech.com/4.3/geometry.html#x11-peculiarities (also
applies to qt 4.4 and 4.5), there's no simple fix for this problem. I simply
added the code snippets suggested by qt developers.
I tested this patch in Kde 4.2 beta 2 (recompiled via kdesvn-build) on xubuntu
8.10 and it works..
To apply the patch:
copy these 3 files in <your kde-root src>/kdelibs/kdeui/widgets
To compile ONLY kdeui lib:
kdesvn-build kdelibs/kdeui --no-svn
Testing:
Recompile one simple app, like Tutorial03
(http://techbase.kde.org/Development/Tutorials/Using_KXmlGuiWindow).
Start kde4 and run Tutorial03 application. Window position get stored in your
configrc in ~.kde4/share/config/tutorial03rc
You should recompile all the other modules otherwise some program may crash,
like konsole:
kdesvn-build --no-svn
I'm not a c++ guru so please test it... (win32/OSX too)
If you think it is ok i'd like see this patch integrated, because on a wide
monitor it's a pain to rearrange all windows every time.
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list