[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [dolphin] [Bug 352177] Moving/copying by drag n' drop between dolphin windows does not respect press
From:       Emmanuel Pescosta <emmanuelpescosta099 () gmail ! com>
Date:       2015-09-03 15:08:47
Message-ID: bug-352177-17878-JuLtuKNyuC () http ! bugs ! kde ! org/
[Download RAW message or body]

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

Emmanuel Pescosta <emmanuelpescosta099@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |emmanuelpescosta099@gmail.c
                   |                            |om
     Ever confirmed|0                           |1

--- Comment #1 from Emmanuel Pescosta <emmanuelpescosta099@gmail.com> ---
Thanks for the bug report, I can reproduce the problem!

After some debugging and digging around in KIO DropJob, I am 100% sure that the
bug is in Qt (see https://bugreports.qt.io/browse/QTBUG-894). 

KIO DropJob uses the proposed drop action only when modifier keys were set
(because Qt defaults to copy when no modifiers were present), if no modifiers
were set KIO DropJob will ask the user. With this Qt Bug the modifier keys are
always empty (= NoModifier) and so KIO always opens the popup, even when the
right drop action was proposed by Qt.


I have added some debug output to KItemListController::dropEvent:

* Drop with shift pressed:
org.kde.dolphin: KItemListController::dropEvent
QFlags<Qt::KeyboardModifiers>(NoModifier) Qt::DropAction(Movion)

* Drop with ctrl pressed:
org.kde.dolphin: KItemListController::dropEvent
QFlags<Qt::KeyboardModifiers>(NoModifier) Qt::DropAction(Copion)

* Drop without a modifier key:
org.kde.dolphin: KItemListController::dropEvent
QFlags<Qt::KeyboardModifiers>(NoModifier) Qt::DropAction(Copion)

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic