Bug 267765

Summary: Add delay before switching tabs with mouse-over
Product: [Applications] krusader Reporter: Marcin Gryszkalis <mg>
Component: generalAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: krusader-bugs-null, swexru
Priority: NOR    
Version First Reported In: 2.3.0-beta1 "New Horizons"   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Marcin Gryszkalis 2011-03-06 08:32:23 UTC
Version:           2.3.0 (using KDE 4.6.0) 
OS:                Linux

When dragging file you can switch tabs hovering mouse over (useful to copy file by dragging to other tab). The problem is that the switch happens immediately - even when the mouse is just flying over to other parts of desktop.

We should have a delay (like 0.5s) before switching tabs.

Reproducible: Always




Also reported in SF bugtracker
https://sourceforge.net/tracker/?func=detail&aid=3014404&group_id=6488&atid=106488

quoting from there:

"Currently, it is virtually impossible to drag files from the panels to the terminals while entering a command without piloting skills, since when you're dragging something with the mouse over a tab, Krusader switches to this tab, and when switching to this tab, it sends a command to the terminal ruining the command that was being entered. I propose that changes are made, so that this doesn't happen.

Automatic changing of the directory in the terminal is sometimes very useful, and sometimes very obtrusive. I suggest that a button is added that would allow switching to/from follow mode. But I don't think this button would be enough to resolve this issue, and I believe the best thing would be if there was a little delay between hovering with the dragged file and switching the tabs (short enough to not be annoying, long enough so that it doesn't happen when the mouse wasn't hovering but just passed through there). Additionally, not sending the command until the drop has been completed might be a good thing, although I don't know if it won't have side effects."
Comment 1 Alex Bikadorov 2017-05-29 14:37:54 UTC
*** Bug 332993 has been marked as a duplicate of this bug. ***
Comment 2 Alex Bikadorov 2017-05-29 21:11:26 UTC
Git commit 4077c4a5989de339f5c82f11ab6695f935de5f9a by Alexander Bikadorov.
Committed on 29/05/2017 at 21:10.
Pushed by abikadorov into branch 'master'.

Added delay for mouse drags on panel tab bar.

FIXED: [ 267765 ] Add delay before switching tabs with mouse-over

M  +32   -10   krusader/paneltabbar.cpp
M  +6    -0    krusader/paneltabbar.h

https://commits.kde.org/krusader/4077c4a5989de339f5c82f11ab6695f935de5f9a