Bug 182759 - Make recent files list global, rather than per session
Summary: Make recent files list global, rather than per session
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: sessions (show other bugs)
Version: unspecified
Platform: Debian testing Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
: 149896 193043 196770 225356 228027 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-01 19:04 UTC by Aneurin Price
Modified: 2010-11-06 15:58 UTC (History)
10 users (show)

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 Aneurin Price 2009-02-01 19:04:00 UTC
Version:            (using KDE 4.2.0)
Installed from:    Debian testing/unstable Packages

I have Kate set to start a new session on startup, because that's the way every other editor I use works and I like the consistency.

The problem with this is that it causes a new, empty list of recent files to be created, so the 'Open Recent' menu option becomes useless.

This could be improved if the recent files list were global, rather than per-session, or if the default session included *all* recent files, including in unsaved sessions.

I consider this to be a problem because all other applications work this way, so the difference is jarring. Think of the way KWrite works - this is the expected behaviour (or the Gimp, or Inkscape, Openoffice, ...). In Kate it appears that the only way to get a recent files list is to have my session automatically saved and restored, which I don't want because I want my editor to start without any open files, unless I manually choose a saved session.

I can understand the desire to have the MRU list separate between sessions, but what about an exception for the default session? If this is a feature which is absolutely undesired by the developers, then does anyone have any suggestions for any workarounds which might make Kate work as I'd like?

Thanks
Comment 1 Matthew Woehlke 2009-02-06 01:52:56 UTC
> I can understand the desire to have the MRU list separate between sessions, but
> what about an exception for the default session?

I think I'd favor for (named) sessions to still had their own MRU, but at least in 'always start new session' mode, I agree there should be /something/.
Comment 2 Dominik Haumann 2009-05-17 23:02:44 UTC
*** Bug 193043 has been marked as a duplicate of this bug. ***
Comment 3 Dominik Haumann 2009-05-17 23:03:57 UTC
*** Bug 149896 has been marked as a duplicate of this bug. ***
Comment 4 Dominik Haumann 2009-05-17 23:06:30 UTC
Ides on how to solve this:
1. make Recent Files independent of sessions
2. make it an option: either per session or independent
3. save it per session + always add to default session (need to reintroduce a default fixed session)

1. is easiest. But 3. should be best. Thoughts?
Comment 5 Dominik Haumann 2009-05-19 10:17:17 UTC
related: bug #193162
Comment 6 Tristan Miller 2009-06-11 16:54:52 UTC
This seems to be a duplicate of Bug 144355.
Comment 7 Dominik Haumann 2009-06-11 17:19:31 UTC
It's related, but does not really matter. The reports are there as this one. It doesn't make much sense to change 144355 to duplicate of this bug.
Comment 8 Dominik Haumann 2009-06-16 17:37:35 UTC
*** Bug 196770 has been marked as a duplicate of this bug. ***
Comment 9 ned 2009-07-10 03:47:14 UTC
+ one for option 2. - make it an option: either per session or independent
Comment 10 Andreas Pakulat 2010-02-03 11:06:16 UTC
*** Bug 225356 has been marked as a duplicate of this bug. ***
Comment 11 Andreas Pakulat 2010-02-22 14:31:28 UTC
*** Bug 228027 has been marked as a duplicate of this bug. ***
Comment 12 Dominik Haumann 2010-11-04 19:20:07 UTC
@Aneurin and all other followers of the bug:
I've blogged baout this issue to get a general opinion about whether recent files should be global or per session [1]. It's hard to find a consensus, especially since also users not using sessions give their opinion.
For KDE4.6, all the configuration if unnamed/anonymous sessions are saved and reused for new sessions. This includes recent files.
In other words: Recent files are still per session, but all unnamed sessions use the same recent-files list (think of not using sessions at all).

Question is now: Are you ok with closing this report with this described behavior (still per session; but remembers for unnamed, i.e. kind of global for unnamed sessions)?

[1] http://kate-editor.org/2010/10/27/recent-files-menu-in-kate/
Comment 13 Silver Salonen 2010-11-04 21:55:42 UTC
To me it sounds OK, but I didn't know I can use "anonymous" sessions :)
Comment 14 Aneurin Price 2010-11-05 13:28:59 UTC
I have to confess that I haven't tried 4.6, but as described it seems like a sensible way to behave, so I'd consider it 'fixed'.

(It's encouraging to see minor issues like this getting solved. Small bugs and wishlist items seem fairly insignificant but add a far more polished feel overall)
Comment 15 Dominik Haumann 2010-11-06 15:58:51 UTC
Thanks for your replies. I'll close the report then.

Meanwhile, if you want to try the current behavior for KDE 4.6, just follow http://kate-editor.org/get-it/