baskerville / bspwm

A tiling window manager based on binary space partitioning
BSD 2-Clause "Simplified" License
7.72k stars 415 forks source link

xdg-desktop-portal-gnome goes into search if i type something #1392

Open icf20 opened 2 years ago

icf20 commented 2 years ago

1 Opera browser uses xdg-desktop-portal-gnome to save files

2 i want to edit the file name before saving the file, but the search dialog field show up and it gets into focus

3 if i manually focus on the file name field, it instantly gets back to search

bspwm -v 0.9.10


GTK_FRAME_EXTENTS(CARDINAL) = 61, 61, 55, 67
_GTK_THEME_VARIANT(UTF8_STRING) = 
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 0, 0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_STICK
WM_STATE(WM_STATE):
        window state: Normal
        icon window: 0xfb3b2e00
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MODAL, _NET_WM_STATE_SKIP_TASKBAR
WM_HINTS(WM_HINTS):
        Client accepts input or input focus: True
        Initial state is Normal State.
        window id # of group leader: 0x4c00002
WM_TRANSIENT_FOR(WINDOW): window id # 0x3400003
_NET_WM_OPAQUE_REGION(CARDINAL) = 73, 55, 827, 12, 61, 67, 851, 545, 73, 612, 827, 12
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x1, 0x0, 0x0, 0x0
XdndAware(ATOM) = BITMAP
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 79691782, 79691783
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x4c00005
WM_CLIENT_LEADER(WINDOW): window id # 0x4c00002
_NET_WM_PID(CARDINAL) = 12298
WM_LOCALE_NAME(STRING) = "<nope>"
WM_CLIENT_MACHINE(STRING) = "<nope>"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        program specified minimum size: 822 by 496
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "xdg-desktop-portal-gnome", "xdg-desktop-portal-gnome"
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG
WM_ICON_NAME(STRING) = "All Files"
_NET_WM_ICON_NAME(UTF8_STRING) = "All Files"
WM_NAME(STRING) = "All Files"
_NET_WM_NAME(UTF8_STRING) = "All Files"

note if xdg-desktop-portal-gnome get removed from system and xdg-desktop-portal-gtk is installed this gets used and works quite well but this fix dont solve the bug

andreykaere commented 2 years ago

It happened to me after upgrading to Ubuntu 22.04 as well. I am not really sure what's causing the problem, but installing xfce4 and running it alongside bspwm fixed the problem for me. Hope it helps.

daviddavo commented 10 months ago

I don't think "changing the desktop environment" is an acceptable solution