fuhsjr00 / bug.n

Tiling Window Manager for Windows
GNU General Public License v3.0
3.36k stars 214 forks source link

Invisible window (bug.n_BAR_1) becomes 'activated' #295

Closed DWTW321 closed 2 years ago

DWTW321 commented 2 years ago

Hi,

I was wondering if you could help me with an issue, when I have the top bar toggled on and I switch window focus (using Win+Up or Win+Down) it ends up focusing on an invisible window and the focus stays stuck on that window.

Here are the details of the window that 'steals' focus:

ID: 0x1104bc class: AutoHotkeyGUI title: bug.n_BAR_1 [hidden] process: AutoHotkey.exe [8912] style: 0x940A0000 metrics: x: 0, y: 0, width: 3000, height: 32 tags: --

Config_rule=AutoHotkeyGUI;bug.n_BAR_1;;0;;;;;1;

And here are the session window details: Active Window 0x6035a: New Issue · fuhsjr00/bug.n — LibreWolf

Window List 0x6035a: New Issue · fuhsjr00/bug.n — LibreWolf 0x220112: Config.ini - VSCodium 0x500f6: doc :

I've had a look at issue #32 but it doesn't seem to be the same problem. I don't think this issue has been reported at all, if I'm wrong let me know. Any help would be appreciated.

Thanks

DWTW321 commented 2 years ago

I should have also mentioned that this does not happen when the top bar is toggled off.

DWTW321 commented 2 years ago

Hi, I've managed to fix the problem. I had to delete _Layout.ini and _WindowState.ini from C:\Users\DWTW\AppData\Roaming\bug.n\data

I dont know what caused the issue and why this fixed it but I thought I'd post this here for anyone who might need it.