Bug 267765 - Add delay before switching tabs with mouse-over
Summary: Add delay before switching tabs with mouse-over
Status: RESOLVED FIXED
Alias: None
Product: krusader
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.3.0-beta1 "New Horizons"
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
: 332993 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-06 08:32 UTC by Marcin Gryszkalis
Modified: 2018-05-06 00:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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