Version: 3.1 (using KDE 3.1.9) Compiler: gcc version 3.2 OS: Linux (i686) release 2.4.19-4GB Had some interesting pages open in two khelpcenters. But then I had to log out temporarily. When I logged in again both were reset to the "Welcome" page. (probably, I have to recheck this...)
Rechecked with recent CVS 2003-12-30 Opened KDE Help Center on an page (kioslave audiocd), log out, end session (do not exit Help Center) log in - Help Center starts as expected. But it does not restart with the page where it was left, worse now it does not even start on the Welcome page!
For the record: domi: ~/src/kdebase/khelpcenter> cvs log -r1.41 mainwindow.cpp <snip> revision 1.41 date: 2003/05/04 16:43:23; author: mlaurent; state: Exp; lines: +23 -1 Fix restore session => doesn't create two khelpcenter. Now it saves url but readProperties doesn't work in khelpcenter if a people can explain me why ... ============================================================================= This is where the bug started, I can't debug further because I can't easily test stuff because I don't have a HEAD installation.
Created attachment 4074 [details] possible patch I *think* that this should fix it, but I cannot test because I don't have a HEAD installation. Can anyone test ? cheers domi
or better yet: change readPathEntry in that patch to readEntry, and the same for writePathEntry. cheers domi
This is written to the session file, looks OK to me. But at restart of session I get "Malformed URL" Read back is probably wrong in some way... [1] URL=help:/kioslave/floppy.html [MainWindow Toolbar style] Index=0 [Number] NumberOfWindows=1 [WindowProperties1] ClassName=KHC::MainWindow Height 1024=600 ObjectName=MainWindow Width 1280=800
Oh, had not seen the modified patch - the test was performed with the old on. I will retry.
I think I fixed this one, can someone verify and close?
*** Bug has been marked as fixed ***.
Waldo Bastian writes: > *** Bug has been marked as fixed ***. When did you fix this ? I.e. in what release will the fix be present ? thanks domi