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

Peter Mühlenpfordt <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/gwe
                   |                            |nview/358ff25a4ab9855a67275
                   |                            |46f355db428dd74f8cf
             Status|CONFIRMED                   |RESOLVED
   Version Fixed In|                            |18.04.2

--- Comment #3 from Peter Mühlenpfordt <[email protected]> ---
Git commit 358ff25a4ab9855a6727546f355db428dd74f8cf by Peter Mühlenpfordt.
Committed on 20/05/2018 at 15:16.
Pushed by muhlenpfordt into branch 'Applications/18.04'.

Update paste action on current directory and selection changes

Summary:
The paste action is disabled on Gwenview start. This is caused by
initializing the action state before setting the current directory
url in `ContextManager`. The state updates only on clipboard changes
and does not reflect the current permissions to paste into a folder.
This patch updates the paste action state on changing the directory
and the selection, which both affect the paste destination.
FIXED-IN: 18.04.2

Test Plan:
# Copy url(s) to clipboard (e.g. from `Dolphin`)
# Open Gwenview in Browse Mode
# Check if {nav Edit > Paste...} is enabled on startup
# Check if {nav Edit > Paste...} is disabled in non-writable folders

Reviewers: #gwenview, rkflx

Reviewed By: #gwenview, rkflx

Subscribers: rkflx, huoni

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

M  +1    -1    app/fileopscontextmanageritem.cpp

https://commits.kde.org/gwenview/358ff25a4ab9855a6727546f355db428dd74f8cf

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

Reply via email to