https://bugs.kde.org/show_bug.cgi?id=446420

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/gwenview/commit/5719e0
                   |                            |9b588c3bdaa466e1c64b2aaa1a1
                   |                            |6289605

--- Comment #2 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 5719e09b588c3bdaa466e1c64b2aaa1a16289605 by Fushan Wen.
Committed on 14/12/2021 at 11:49.
Pushed by fusionfuture into branch 'master'.

importer: Show "Install Protocol Support" button when protocol support is
missing

Currently, when the protocol support is not installed (e.g. kamera),
the importer will report "Unknown protocol" error and leave
the dialog empty without any further instruction. The behavior
is not friendly for 1-dot users as mentioned in the Nate's
blog article.

This commit adds a button named "Install protocol support for %1". The
button is only visible when `DocumentDirFinder` emits
`KIO::Error::ERR_CANNOT_CREATE_SLAVE` error. The button can

1. open Discover and directly open kamera page if the scheme is
   "camera".
2. open Discover and search the scheme for other schemes.

To make `DocumentDirFinder` able to emit error signal, a new signal
named `error()` is added to `DocumentDirFinder`.

M  +2    -0    importer/CMakeLists.txt
M  +10   -0    importer/documentdirfinder.cpp
M  +1    -0    importer/documentdirfinder.h
M  +156  -0    importer/thumbnailpage.cpp
M  +2    -0    importer/thumbnailpage.h

https://invent.kde.org/graphics/gwenview/commit/5719e09b588c3bdaa466e1c64b2aaa1a16289605

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

Reply via email to