fsearch
fsearch copied to clipboard
FSearch opens underneath other windows if Escape is used to close it
If opened, closed with Escape, and opened again, FSearch may open underneath other windows instead of on top of everything.
To Reproduce
- Bind
fsearch
to a keyboard shortcut (On Gnome in Ubuntu 22.04, I bound it toCtrl+Alt+O
in settings) - Enable "close FSearch on Escape" setting
- Open some other windows
- Open FSearch, then press Escape
- Open FSearch, observe it appears behind other windows
If for step 4 you press alt+f4 or click the X button, FSearch correctly appears on top of everything in step 5.
Desktop (please complete the following information):
- OS: Ubuntu 22.04
- Ubuntu PPA version
- Version: kFSearch 0.2.2 (PPA-stable)
- Output of
localectl status
System Locale: LANG=en_US.UTF-8
VC Keymap: n/a
X11 Layout: us
X11 Model: pc105
So playing with this some more, it's a little more confusing than I first thought. If you leave "close on escape" off, then press Escape to close, it appears to close anyway, but then the next time you open FSearch with the keybinding, FSearch doesn't even appear at all, it only shows up in the Gnome activities view. It may actually work fine if the setting is technically on, but bugs out of it's off.
Thx for the report, sorry it took a while to respond, I was visiting family and friends over the holidays.
If you leave "close on escape" off, then press Escape to close, it appears to close anyway, but then the next time you open FSearch with the keybinding, FSearch doesn't even appear at all, it only shows up in the Gnome activities view.
When Exit on Escape
is disabled, FSearch is supposed to get minimized when you press Escape. GNOME has some focus stealing mechanism when you want to bring a minimized window to the front, which results in the infamous "App is ready" message when you attempt to bring FSearch to the front again. As far as I know there's nothing I can do about that.
- Bind fsearch to a keyboard shortcut (On Gnome in Ubuntu 22.04, I bound it to Ctrl+Alt+O in settings)
- Enable "close FSearch on Escape" setting
- Open some other windows
- Open FSearch, then press Escape
- Open FSearch, observe it appears behind other windows
I can't reproduce that on Ubuntu. When the Exit on Escape
option is enabled, FSearch shows up in the front when you launch it the next time.
Do you use Wayland or X.org (what is the output of echo $XDG_SESSION_TYPE
)?
Just want to add, I'm on xfce 4.18, X11, I can reproduce the issue, if the window is on different workspace, if we focus long on other windows on other desktop. Not everything this can be reproducible, but I seen it multiple times that it happen, probably chance is 50:50