Bug 93580 - The feeds panel does not preserve width between program restarts
Summary: The feeds panel does not preserve width between program restarts
Status: RESOLVED FIXED
Alias: None
Product: akregator
Classification: Applications
Component: kontact plugin (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-19 14:40 UTC by Cláudio F. Gil
Modified: 2004-12-02 18:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cláudio F. Gil 2004-11-19 14:40:32 UTC
Version:            (using KDE KDE 3.3.1)
Installed from:    Debian testing/unstable Packages

When kontact is restarted the feeds panel of akregator plugin always present the default width.

It would be nice if it preserved the last width, that is, the width it had when closed. This is already done in the akregator standalone program.
Comment 1 Cláudio F. Gil 2004-11-22 12:44:00 UTC
I don't really undestand what happened but it is doing what I whised for.

As far as I can tell this started working when I opened the main aKregator program.

I tested a few times before submiting the wish, I opened the main window (akregator standalone program) to see the problem existed there also and then, in the next day, the plugin started to behave the same way.

At least this is how I feel it, it mabe be just a coincidence.
Comment 2 Frank Osterfeld 2004-11-22 13:57:34 UTC
The kontact plugin doesn't save the splitter sizes on exit.
Steps to reproduce:

1. Start kontact plugin, change splitter sizes, exit kontact
2. restart kontact. The modified splitter sizes from step 1 are not restored.

This happens because I found no way to save settings on exit in the kontact plugin. Since the kontact plugin only knows general KPIM::Part resp. KReadOnlyPart and not our akregatorPart with its methods like saveSettings(), you can't call such a method there.
You can't save settings in the akregatorPart destructor either, because at this point the singleton Settings object is already destroyed -> segfault.
Comment 3 Frank Osterfeld 2004-12-02 18:34:40 UTC
I fixed that in CVS, works also in Kontact now.