[digikam] [Bug 456481] Open with default program -button opens multiple editor windows

2022-07-09 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=456481

Maik Qualmann  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/grap
   ||hics/digikam/commit/bfd5a7b
   ||8aab39eca2b12a251ce7abff6df
   ||e5c00b
   Version Fixed In||7.8.0

--- Comment #4 from Maik Qualmann  ---
Git commit bfd5a7b8aab39eca2b12a251ce7abff6dfe5c00b by Maik Qualmann.
Committed on 09/07/2022 at 18:19.
Pushed by mqualmann into branch 'qt5-maintenance'.

on Linux, use KService to get default application to open it
This will work fine under a KF5 Plasma Desktop.
FIXED-IN: 7.8.0

M  +1-1NEWS
M  +15   -0core/app/items/utils/itemviewutilities.cpp

https://invent.kde.org/graphics/digikam/commit/bfd5a7b8aab39eca2b12a251ce7abff6dfe5c00b

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 456481] Open with default program -button opens multiple editor windows

2022-07-09 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=456481

--- Comment #3 from myaccount...@protonmail.com ---
Could there be separate start for default program first, then pass urls to it
OR wait some time after passing first url to allow program first to initialize
to *possibly* avoid opening several instances?

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 456481] Open with default program -button opens multiple editor windows

2022-07-08 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=456481

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #2 from Maik Qualmann  ---
The behavior was no different in digiKam-6.x.x. To open with the default
application we use QDesktopService::openUrl(). This function can only handle a
single URL, so we pass all the URLs one by one. We have the "Open With" menu
under Linux and recently also under MacOS and can list applications that handle
the mime type. Here we use our own program starter that starts URLs depending
on the option parameters (%f, %F, %u, %U) according to program instances or
transfers the URLs as a list. But I think we can't get the set default
application.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 456481] Open with default program -button opens multiple editor windows

2022-07-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=456481

--- Comment #1 from myaccount...@protonmail.com ---
STEPS TO REPRODUCE
0. Close all Gimp windows if they're opened.

***

This worked ok with 6.x I think.

-- 
You are receiving this mail because:
You are watching all bug changes.