Trigger loading a list of files from Dolphin using "open with"

J Blackquill uhhadd at gmail.com
Fri Jul 15 23:01:29 BST 2022


Am Fr., 15. Juli 2022 um 17:56 Uhr schrieb Tobias Leupold <tl at stonemx.de>:
>
> Maybe it depends on if the respective file type is associated with the program
> or set by default to be opened with it?

Judging by the code I mentioned in my previous reply, it's strictly
based on whether or not the argument specifier for multiple URLs is in
the desktop file.

> When I select three jpg files and choose "open with Gwenview", I get one
> Gwenview instance showing all three files.
>
> If I do the same with "open with Gimp", I get three Gimp instances.
>
> Same for KGeoTag: Three files selected --> three instances.
>
> I'm on Gentoo btw.
>
> Am Freitag, 15. Juli 2022, 23:44:27 CEST schrieb David Hurka:
> > On Friday, July 15, 2022 11:35:11 PM CEST Tobias Leupold wrote:
> > > What happens when I select multiple files in Dolphin and do "open with" is
> > > that not a list of the selected files is passed to the called program, but
> > > one instance of the program is opened for each file.
> > >
> > > This does not only happen for what I try to implement in KGeoTag, but also
> > > e.g. for the Gimp (instead of opening a tab for each file, one Gimp
> > > instance is opened for each file).
> >
> > I did not notice this behavior yet.
> > I frequently select a couple of source files in Dolphin, and do Enter to
> > open all of them in Kate.
> > It always opens only one Kate instance.
> >
> > But if I select only one, do Enter, then select another one, do Enter,
> > before any Kate instance has launched, I get multiple Kates.
> > So I think either your Dolphin works different than mine, or you have
> > another mistake.
> >
> > BTW here it works the same whether I do Enter or right-click -> Open with...
>
>
>


More information about the kde-devel mailing list