From kde-core-devel Sat Oct 13 11:18:07 2018 From: Thomas Friedrichsmeier Date: Sat, 13 Oct 2018 11:18:07 +0000 To: kde-core-devel Subject: Re: RKWard is in kdereview Message-Id: <20181013131807.5c23e741 () edge> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=153942961310071 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--Sig_/AUELs3X7wmngIUCh8ntIioW" --Sig_/AUELs3X7wmngIUCh8ntIioW Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, On Sat, 13 Oct 2018 06:59:53 +0200 Thomas Baumgart wrote: > That's exactly how kate behaves. Using krunner to start it always > creates a new instance. Using the 'Open with' option in dolphin opens > the file in an existing instance. Or am I missing something? Maybe, > you take a look at kate's .desktop file. thanks for the pointer (and also thanks, Meik for the analysis). I added an --autoreuse option which will reuse the running session, if any urls are specified on the command line, similar to kate's "-b" option. This allowed to remove the second .desktop file. I've kept the --reuse option around. Probably it won't be needed a lot, but it's cheap to keep, and allows to remain flexible and backwards compatible. Regards Thomas --Sig_/AUELs3X7wmngIUCh8ntIioW Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEby3AwIMM6jiQ/yLPORWR3xhYy7YFAlvB1G8ACgkQORWR3xhY y7aFdRAAn1jPgYIGMCp1eY+8WVStPL8SvJXoRNn64FllpH3Fhsu3m/BcDebOr8QM tfMZyJ5+zupS3UO1Cnd/N41PaMoNQcXiNSo6f8LEPd/VpMDT9EuV5LSy8sWaLq6J gP5JM5YLPpH77tJo1e3mizVbYrnjeA7M1VHvpXYaScTGQvgqjz0a+hpO5S/8WRGj 7nhqMGPOjMRKd9By0l6KTMzbybc7o6PoKr9aTa9R95OZP1WLEw9P5WsLstzYm5zt Thexw1g1hqnECFD+1iK+wVrruUIZ2VetgBeHxHQr/d3tlzjt2ESJRlu4vveozbeB I0gNKJAZIgflTZI5HlLYiWM5GZcWPsHi/ziCaI33drrxJPJezYanyonW5DDerbqL MyKhtC0fFrVaojRgYNnI+nxj1FNXwd9GK4F/MmX+wPgTcUKst72xCHXvYCFas1uK Fi21APYu3jSOhYSDiTeHM0i+r2Rzr1/46IIUU4fOwIq7K6wrpolN6I2OGOvsY0Tq gJZCKb5U81OM0v8lr6+mx+cCFVPtqP5g/RcOA6vnkkFFroXOsfQyYoawX1dx6iyM 9ArLc3sypaK7wYl1EEpLS31mOjPx+Y6PgbVBVCm3VwL0d311kxXsPtiWIGCyksh1 LSyFiNYorxbvfq0uGFtFyWfuTI+qBLUUbhteofk7FX2+sfm+XiM= =mhIK -----END PGP SIGNATURE----- --Sig_/AUELs3X7wmngIUCh8ntIioW--