Summary: | add option to run one kate instance only and reuse it | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Amichai Rothman <amichai2> |
Component: | sessions | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | bakatamas, christoph, kde-2011.08, kouzinopoulos, rjlapham, tyrerj, zoom_re |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Amichai Rothman
2009-05-06 21:20:27 UTC
with kde 4.2.3 there is still no such option. really it will be a sesnible appication of multidocument editor. This bug should be closed as invalid. This is the same in KDE-4 as it was in KDE-3. If you want remote opening of Kate then you need to edit the "kate.desktop" file. Change the line: Exec=kate %U to: Exec=kate -u $U You can do this using the Menu Editor. If you think that this should be the default or that it should be easier to select this, then that might be a usability issue. Sorry for not being explicit - as an ex-Windows user, I took it for granted that it should be configurable via GUI, which is what I would expect from any GUI based application. As an old usability guideline says: 'if the user can't easily find it - it doesn't exist.' Specifically, when referring to a 'configuration option' I meant 'a checkbox somewhere in the general settings dialog to toggle this behavior'. This checkbox in applications that support this feature is often labeled 'allow only one instance to run', or the inverse 'allow multiple instances', or some variation thereof. *** Bug 193471 has been marked as a duplicate of this bug. *** We've requests for this again and again, so I also believe that adding an option [x] reuse already open kate when opening files should be in the options dialog. Yes, there should be an option. I also tried changing the menu entry with the menu editor From: kate &U to: kate -u &U Well, it works, it opens in the already open kate window, but there is also a popup saying: Couldn't start /usr/bin/kate Did I do something wrong? (Also I think this behavior should be the default) The error "Couldn't start /usr/bin/kate" is fixed in upcoming KDE4.3. In KDE 3 Kate could be configured as the OP wants: all text files are opened in the existing Kate instance, as new documents. The KDE 4 version does not seem to have this ability. Therefore this is a regression from KDE 3. The easiest fix would be to change the default to what it was with KDE 3.5. To me the advantage of Kate is having multiple files opened in one session. If you don't want that use KWrite instead. It is still not fixed in KDE 4.3. Is someone working on this? That is the default in KDE 4.9. |