trunkmaster / nextspace

NeXTSTEP-like desktop environment for Linux
https://trunkmaster.github.io
GNU General Public License v3.0
1.9k stars 69 forks source link

[0.90] menu not updated when application is shaded #282

Closed zeroheure closed 4 years ago

zeroheure commented 4 years ago

There is a strange behaviour with app menus when some windows are shaded.

Simple case on VM (vesa driver)

Shade File Viewer window then open Terminal. The Terminal menu is drawn above Workspace menu. You can play with various window shade/unshade, menus are a total mess.

Real hardware (radeon driver)

Open Teminal and TextEdit document. Play with both windows by shading/unshading. Quickly apps menus will not update anymore.

trunkmaster commented 4 years ago

Confirmed. Workspace/GNUstep focus handling needs more fixes. My assumption: GNUstep window doesn't receive Unfocus event when window is shaded.

trunkmaster commented 4 years ago

@zeroheure fixed in master.

Although I'm not happy with focus management yet. Changing focus with titlebar clicking, make application main menu focused (wrong GNUstep focus handling).

trunkmaster commented 4 years ago

@zeroheure sorry, not fixed yet. I'm working on it.

trunkmaster commented 4 years ago

@zeroheure I guess now it's fixed now. It's quite huge (in terms of amount of work and testing) change - a lot of code was changed. I think most of the problems with focus switch were fixed (including workspace switching). Fix needs changed GNUstep Back (located in Libraries/gnustep/tests/back-art). You need to build and install this version manually. Now I need to document current focus and application management until I forget details. I need to implement custom Workspace hiding due to the special role of Workspace.

zeroheure commented 4 years ago

Wow, thanks !

trunkmaster commented 4 years ago

@zeroheure should I consider this problem resolved and close this issue?

zeroheure commented 4 years ago

Sorry I'm a bit in holidays and very busy working on an ERP migration. Strange holidays. Please wait.

trunkmaster commented 4 years ago

No problem. Also please take a look at other fixed issues reported by you.

trunkmaster commented 4 years ago

Closing as fixed.