https://bugs.kde.org/show_bug.cgi?id=361583

            Bug ID: 361583
           Summary: krusaderrc tabs section corrupt if krusaderrc is a
                    symbolic link
           Product: krusader
           Version: 2.4.0-beta3 "Single Step"
          Platform: openSUSE RPMs
               URL: https://bugzilla.opensuse.org/show_bug.cgi?id=974785
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: m...@fork.pl
          Reporter: gennady.uralt...@gmail.com

I have Krusader set up to remember position and tabs. Its config file is in
~/.kde4/config/krusaderrc . If one leaves it like that everything works fine.

However if actually ~/.kde4/config/krusaderrc is a symbolic link to another
file everything works kind of fine except one thing: If you have several tabs
open then on exit krusader successfully saves the information relative to them
(current path, history, etc.). However if you then close the tabs krusader,
when writing the info about the tabs in krusaderrc corrupts the entries.

/home/guraltsev/.kde4/share/config/krusaderrc points to
/home/guraltsev/.home/.kde4/share/config/krusaderrc 

(I use this setup because in .home I keep the config files I choose to sync
between pc's while the other ones are system local).


Reproducible: Always

Steps to Reproduce:
1. Make sure that $HOME/.kde4/shar/config/krusaderrc is a symbolic link to some
other file
2. Make sure "Save last position, size and panel settings is enabled.
3. Open several tabs, go to some path, exit
4. The file $HOME/.kde4/shar/config/krusaderrc  ( more precisely the file
pointed to)  is in a consistent state and Krusader restores the tabs correctly
when opening
5. Open Krusader and close some of the tabs; close Krusader.
6. Reopen Krusader: the tabs that were closed were not removed and get restored
but at a generic "/" path and with no history or anything else. 
7. See that $HOME/.kde4/shar/config/krusaderrc has corrupt sections relative to
the extra tabs.

Actual Results:  
Closed Tabs do not get removed from $HOME/.kde4/shar/config/krusaderrc  but
their entries get corrupted. They reappear next time you start Krusader.

Expected Results:  
Closed Tabs get removed from $HOME/.kde4/shar/config/krusaderrc  and do not
appear next time you start Krusader.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to