RKWard is in kdereview

meik michalke meik.michalke-4bfl1RV3iZDOEhgYWvzSCYQuADTiUCJX at public.gmane.org
Sat Oct 13 09:43:07 BST 2018


hi,

Am Freitag, 12. Oktober 2018, 22:03:16 CEST schrieb Thomas Friedrichsmeier:
> 1. When invoking RKWard from the Application Menu, always start a new
> instance.
> 2. When invoking RKWard from Open With..., always open the file in an
> existing RKWard instance (if any).
> 
> We already have a command line parameter "--reuse" to select the
> desired behavior. But how to fit both into a single .desktop file?

the .desktop files of kate an RKWard are actually not that different.

the important difference seems to be the very behaviour of the tools 
themselves: kate is always launched using "kate -b %U", and if "%U" happens to 
be empty, it launches a new instance, if not it tries to open it in a running 
instance.

currently, RKWard is being launched "rkward -qwindowtitle %c" to get new 
instances, and "rkward --reuse %F" to open files in existing ones, by the two 
.desktop files, respectively.

now, RKWard reuses a running instance regardless of "%F" if launched with "--
reuse". so in order to have it all in one desktop file, we'd have to change 
RKWard's behaviour: if launched given a file, try to reuse a running session, 
if not start a new one. this would probably render the "--reuse" parameter 
obsolete.


viele grüße :: m.eik

-- 
  dipl. psych. meik michalke
  institut f"ur experimentelle psychologie
  abt. f"ur diagnostik und differentielle psychologie
  heinrich-heine-universit"at d-40204 d"usseldorf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20181013/a2619497/attachment.sig>


More information about the kde-core-devel mailing list