glazewm icon indicating copy to clipboard operation
glazewm copied to clipboard

Can't drag tabs in Chromium based browsers

Open jnzd opened this issue 2 years ago • 8 comments

In Chromium based browsers I can't drag tabs between browser windows or into a new window. As soon as I drag a tab and leave the space designated for tabs in the window, i.e. dragging the tab out of the window, it just jumps back to where it was. For an instant the outline of a new tiled window appears, before disappearing again.

This happens in Google Chrome, Chromium, Microsoft Edge (Chromium), Brave, and presumably any other Chromium based browser.

Firefox doesn't have this issue and lets me drag a tab out of the current window to create a new window. It also allows me to drag tabs between existing Firefox windows.

I'm running Windows 11 Home, version 21H2, build 22000.613 2022-04-17-17-01-44_Trim

jnzd avatar Apr 17 '22 15:04 jnzd

After restarting the window manager again the issue is now completely gone. I will therefore close this issue.

jnzd avatar Apr 17 '22 17:04 jnzd

Actually running into the same issue on Chromium-based browsers. Did you make any changes to the window rules in the user config? Might have to re-open this.

lars-berger avatar Apr 17 '22 19:04 lars-berger

No, I did not make any changes to the config. The issue is now back for me again. I did not restart the window manager, but I did lock Windows since it worked. So I have no idea why the issue was gone and why it came back. I will see if I can get it to work again and whether there is a consistent way to make it happen.

I'm re-opening this issue.

jnzd avatar Apr 17 '22 19:04 jnzd

I have the same issue, some notes:

  • I restarted the window manager and the issue still persists.
  • I was able to make it work by clicking on the tab, dragging down and releasing it very quickly, although this is very difficult to replicate. I was able to do it twice in about 20 tries.
  • Workaround: right click the tab and open it in a new window/move to a new window.

JPhusion avatar Apr 18 '22 09:04 JPhusion

I've been able to reproduce this and find the problem area 🎉

image

In the image above dragging the tab outside the red box causes it to immediately return the it's existing window as demonstrated by the issues author. This means dragging it down, left, right, or up to Glaze's bar causes the issue.

However dragging the tab carefully into the red box which can be described as the space between the bar and the window does cause the tab to create a new window.

crimist avatar Jun 07 '22 18:06 crimist

https://user-images.githubusercontent.com/20033376/172459183-4efa3cb5-3b2e-415a-abcd-d4607cc4e315.mp4

crimist avatar Jun 07 '22 18:06 crimist

The bug occurs on some Chromium-based browsers. Vivaldi, for example, doesn't have this issue.

b1scu1t avatar Mar 26 '23 13:03 b1scu1t