Version: (using KDE KDE 3.5.2) Installed from: SuSE RPMs Please, have mercy :-) and add such option. I know there is a possibility for running kate in one instance, but after reading a lot of magic (shell alias, konqueror mime types) I am completely lost -- and I guess every not I-actually-wrote-unix user would be so.
I was able to do this previously. There was an option to require any new file opened to open in a new tab in the open instance of Kate. It is often convenient to open a file from a file browser because it is faster to find files that way. My practice now is to quit Kate whenever I have finished working on the document/s in that window, simply because I don't want more than one window cluttering up the desktops. Please bring the option back.
The option to add %U to the command in file associations is not generally known but does not work, in any case, for "hidden" associations. For example, I can find no association in Konqueror for a text file with the extension .xcu, so I am unable to add %U to that command.
Just add --use to the general kate command.
Retitling, as I was confused what was really being asked for, at first.
*** Bug 153110 has been marked as a duplicate of this bug. ***
please do! this switch now even doesn't work within KDE 4.1 so my desktop is going crowded with windows even after you decided to annoy me with that stupid session menu. at least i have all toolbar buttons when switching between documents (as it was not the case of kate in 3.5) in one window, that is a *huge* improvement! thanks!
explaining the #6: KDEInit was not able to execute '/usr/bin/kate'.
Please consider adding this option, even by default. I've tried using Kate on Windows lately, and the lack of this GUI option is a real turn off. It boils down to: "What's the use of a multi-document editor, if it opens each new document in a new window? ".
My use-case / workflow is the following: - I've got Dolphin open with my project files (images, CSS, HTML, etc..) - Each time I like to edit a file, I open it. This workflow works almost everywhere else.
*** This bug has been confirmed by popular vote. ***
On my openSUSE 11.2 with KDE 4.4.1, "--use" actually *is* the default behavior. "kate --help" says: > -u, --use Reuse existing Kate instance; default, only for compatibility And http://websvn.kde.org/branches/KDE/4.4/kdesdk/kate/app/katemain.cpp?view=markup confirms this, see lines 138/139. Note the difference to http://websvn.kde.org/branches/KDE/4.3/kdesdk/kate/app/katemain.cpp?view=markup from the 4.3 branch, lines 85/86. Interestingly, this is not the solution you were proposing, so I'm leaving it to someone else to mark this as RESOLVED.
I have added -use to the settings in Konqueror. Kate still opens a new instance of the saved session.
Use is now standard again, since some KDE releases.