fancywm icon indicating copy to clipboard operation
fancywm copied to clipboard

Undesirable Chrome tab behavior

Open incorrigible7 opened this issue 2 years ago • 5 comments

Describe the bug When dragging a chrome tab from one window to another, it is being treated as a window (which is desirable in every other case and the expected behavior) and therefore makes it difficult to drop it into another chrome window when the new target chrome window is already in a frame--eg, vertical frame--causing the window to dodge the tab back and forth, potentially until FancyWM hits some critical error and crashes (only had this happen once).

To Reproduce Steps to reproduce the behavior:

  1. Attempt to drag a chrome tab from one window to another window that is in a frame.
  2. Have bad aim/continuously miss the target window.

Expected behavior After trying to replicate the behavior, I believe my issue is that if you do not aim exactly on the tab bar, FancyWM takes over and exhibits its normal behavior. Perhaps add a buffer of some sort, a time delay or a 'cushion' area around the tab bar area? Or better yet a customizable option if possible.

Desktop (please complete the following information):

  • OS: w10
  • Version 21h2 64-bit

incorrigible7 avatar Jun 30 '22 15:06 incorrigible7

Thanks for reporting. This might be tricky to fix. The workaround is to right-click on the tab and select "move tab to".

veselink1 avatar Jul 25 '22 05:07 veselink1

The way I've been able to successfully move tabs is to just not move the tab once you drag it to where the tab should be. The chrome window will eventually "settle down" and then the tab will be placed inside the chrome's tab area.

mhowell86 avatar Jul 25 '22 16:07 mhowell86

Thanks for reporting. This might be tricky to fix. The workaround is to right-click on the tab and select "move tab to".

I've been getting more into the habit of using that function as of late lol

The way I've been able to successfully move tabs is to just not move the tab once you drag it to where the tab should be. The chrome window will eventually "settle down" and then the tab will be placed inside the chrome's tab area.

Holy shit, it works. Thanks for the tip! Though I find if you have another chrome window maximized (not being managed by FancyWM, I'm assuming) behind it (my partial workaround for stacking a window with other panels managed by FancyWM), it may still misbehave and not merge, taking it's own space, or merge with the maximized window.

incorrigible7 avatar Jul 25 '22 21:07 incorrigible7

This might require implementing an entirely new behavior for applications that use tabs like this.

For example, having the window move just slightly to the side so it doesn't disturb chrome's tab native insertion behavior, then the user could move the tab more radically to a drop for normal FancyWM insertion behavior.

mhowell86 avatar Jul 25 '22 21:07 mhowell86

This issue is stale because it has been open for 14 days with no activity.

github-actions[bot] avatar Apr 05 '24 02:04 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Apr 19 '24 02:04 github-actions[bot]