D29006: Allow to copy or move selection to the other split view

Méven Car noreply at phabricator.kde.org
Fri Apr 24 12:07:09 BST 2020


meven added a comment.


  In D29006#656284 <https://phabricator.kde.org/D29006#656284>, @aprcela wrote:
  
  > In D29006#654415 <https://phabricator.kde.org/D29006#654415>, @meven wrote:
  >
  > > In D29006#654111 <https://phabricator.kde.org/D29006#654111>, @aprcela wrote:
  > >
  > > > Do I have to invoke `thread apply all bt` in gdb before or after I copy/move to the other view?
  > > >  Tried it before, but couldn't get any info in gdb while dolphin stopped responding..
  > >
  > >
  > > I forgot to mention : once dolphin is blocked, then type CTRL+C in your gdb terminal and them you can `thread apply all bt`
  > >  A step by step:
  > >
  > > gdb dolphin
  > >
  > > > type run // will launch dolphin, do your think until things hang
  > >
  > > type CTRL + C in your gdb terminal // to stop dolphin and switch back to gdb
  > >
  > > > type `thread apply all bt`
  >
  >
  > The notifications are blocking it.
  >  System settings -> Notifications -> uncheck both `Show in task manager` & `Show in notifications`.
  >  Launch dolphin with this patch, open Split view. Copy or move via `CTRL+F5/F6`. Works as expected - instantly copies/moves selection.
  >  @meven maybe this will help you for: https://phabricator.kde.org/T11627
  >
  > When the above mentioned options are checked, dolphin stops responding - selection gets copied/moved after a while and then, after copy/move is finished, the notification appears but never disappears (at least I didn't have patience to wait more than a minute for it to disappear)
  
  
  Interesting, could you share your backtrace if you have one ?
  Also what kind of file do you copy, only local right ?
  
  You could compare your code to how are usually `cutSelectedItems();` `pasteToUrl(destinationPanelUrl)` called.
  Perhaps your code is missing some preparation to have the notifications working properly.
  
  > One other thing I noticed: When i comment `pasteToUrl(destinationPanelUrl);` in both `DolphinView::moveSelectedItemsToOtherSplitView` & `DolphinView::copySelectedItemsToOtherSplitView`, than nothing gets transferred to the clipboard (using `CTRL+F5/F6`).
  
  That's expected `copySelectedItems`/ `cutSelectedItems` copy /cut to clipboard and `pasteToUrl` paste their content. It is like CTL+C + CTL+V.

REPOSITORY
  R318 Dolphin

REVISION DETAIL
  https://phabricator.kde.org/D29006

To: aprcela, #dolphin, elvisangelaccio, ngraham
Cc: meven, kfm-devel, azyx, nikolaik, pberestov, iasensio, aprcela, fprice, fbampaloukas, alexde, Codezela, feverfew, spoorun, navarromorales, firef, ngraham, andrebarros, emmanuelp, rdieter, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20200424/6c1b9d46/attachment.htm>


More information about the kfm-devel mailing list