sway icon indicating copy to clipboard operation
sway copied to clipboard

VLC shows the toolbar in the center in full screen mode

Open newzubakhin opened this issue 4 years ago • 13 comments

  • Sway Version:
$ sway -v
sway version v1.5
  • Description: I ran into a problem with VLC. It shows toolbar in the center of the screen.

Steps to reproduce:

  1. Run VLC
  2. Switch to full screen mode

newzubakhin avatar Aug 16 '20 22:08 newzubakhin

@newzubakhin, do you mean VLC's full screen mode?

When I use Sway's full screen command and use VLC's "Minimal Interface" [Ctrl+H], it seems to have your designed behavior in the meantime.

Edit: I just noticed when switching to floating window mode in VLC's full screen that the toolbar vanishes (will not auto-show on cursor hover) until switching back to tiling mode, allowing the toolbar to reappear in the center of the screen.

Geo25rey avatar Aug 16 '20 23:08 Geo25rey

@newzubakhin, do you mean VLC's full screen mode?

Yep, I mean VLC's fullscreen mode.

newzubakhin avatar Aug 17 '20 10:08 newzubakhin

Any updates on this? I'm also experiencing this issue on the latest sway master branch.

KoalaV2 avatar Aug 12 '21 19:08 KoalaV2

I want to add that sometimes the toolbar stucks in the centre of the screen (i.e. does not go away), esp when switching from fullscreen VLC in one workspace to another workspace and back. Then I have to ’unfullscreen’ (what’s the correct way to describe it?) VLC and then go fullscreen again; that fixes it.

This is a very annoying bug.

tukusejssirs avatar Aug 12 '21 19:08 tukusejssirs

Unlike @tukusejssirs I get toolbar stuck in center of full screen always. It seems that certain dialog boxes especially ones without standard window controls like close button have issue with sway. I saw weird behaviour with new file dialog box of Intellij IDE as well. The dialog box merely has a text box in it without any other controls and I just can't focus that dialog box either via mouse or keypad. It seems both issues are related.

quaintdev avatar Sep 02 '21 01:09 quaintdev

@quaintdev, it might be related to some Sway settings. I use tabbed mode exclusively (unless a modal uses the float mode).

tukusejssirs avatar Sep 02 '21 05:09 tukusejssirs

I might not know much about swaymsg or how to manipulate at runtime, but I am pretty sure I am here looking at the traitor:

image

from swaymsg -t get_tree | nvimpager

I tried setting it to floating mode ( aka for_window[window_type="utility"] floating enable; position 0px 0px ) from Sway's config, and while that does work for the first time it spawns, it quickly re-summons itself in the middle, I'm not exactly sure why.

I can confirm it's a new instance of the window, as the window value changes between appearances (if you let it fade out, it dies completely), although the transient_for value remains the same after reappearing.

I believe the clean fix would be to change the visible state to false, rather than closing the window each time, and re-setting it to true to reappear.

mazunki avatar Sep 29 '21 15:09 mazunki

I might not know much about swaymsg or how to manipulate at runtime, but I am pretty sure I am here looking at the traitor:

image

from swaymsg -t get_tree | nvimpager

I tried setting it to floating mode ( aka for_window[window_type="utility"] floating enable; position 0px 0px ) from Sway's config, and while that does work for the first time it spawns, it quickly re-summons itself in the middle, I'm not exactly sure why.

I can confirm it's a new instance of the window, as the window value changes between appearances (if you let it fade out, it dies completely), although the transient_for value remains the same after reappearing.

I believe the clean fix would be to change the visible state to false, rather than closing the window each time, and re-setting it to true to reappear.

Any update on this? Sounds like this would be a decent fix.

KoalaV2 avatar Nov 06 '21 10:11 KoalaV2

I also am having this exact same issue on sway version 1.6.1

kayshinonome avatar Jan 11 '22 03:01 kayshinonome

I am facing the same issue as well with 1.6.1 version on debian testing.

quaintdev avatar Mar 05 '22 10:03 quaintdev

Any update on this?

KoalaV2 avatar Apr 14 '22 20:04 KoalaV2

sway version 1.7, looking for update...

cccccmake avatar Jul 31 '22 11:07 cccccmake

bump

haselwarter avatar Nov 25 '22 12:11 haselwarter