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

Peter Mühlenpfordt <de...@ukn8.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/gwe
                   |                            |nview/dd0d608a27711cdd1a64a
                   |                            |5cb43f01513c212b0cf
   Version Fixed In|                            |18.04.2

--- Comment #8 from Peter Mühlenpfordt <de...@ukn8.de> ---
Git commit dd0d608a27711cdd1a64a5cb43f01513c212b0cf by Peter Mühlenpfordt.
Committed on 07/05/2018 at 06:57.
Pushed by muhlenpfordt into branch 'Applications/18.04'.

Fix custom folder icons using an absolute path entry

Summary:
Gwenview does not display a custom folder icon which is configured
by an absolute path and the folder does not contain any images.
This is caused by `KIconLoader::loadMimeTypeIcon()` failing for
absolute path entries. If the folder contains images the preview
job corrects the icon later.
Using `KIconLoader::loadIcon()` loads the correct icon.
FIXED-IN: 18.04.2

Test Plan:
* Create an empty folder (e.g. /tmp/parent/test-empty)
* Set a custom icon for `test-empty` using an absolute path
* Start Gwenview in Browse Mode in the `parent` folder
* Folder `test-empty` should display the custom icon

| Before:    | After:     |
| {F5818845} | {F5818847} |

Reviewers: #gwenview, rkflx

Reviewed By: #gwenview, rkflx

Subscribers: rkflx, huoni

Differential Revision: https://phabricator.kde.org/D12465

M  +2    -2    lib/thumbnailview/thumbnailview.cpp

https://commits.kde.org/gwenview/dd0d608a27711cdd1a64a5cb43f01513c212b0cf

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

Reply via email to