fvwm3 icon indicating copy to clipboard operation
fvwm3 copied to clipboard

`ThisWindow` thinks FvwmIconMan is always in a raised state

Open ThomasAdam opened this issue 3 years ago • 2 comments

Original post from: https://fvwmforums.org/t/thiswindow-thinks-fvwmiconman-is-always-in-a-raised-state/3093

With this tiny ~/.fvwm/config (fvwm3, latest master, f1f7c4e):

Module FvwmIconMan

Key F1 A A Next ("FvwmIconMan") my_test

DestroyFunc my_test
AddToFunc my_test
+ I ThisWindow (Raised) echo my_test: $[w.name] is raised

when I start fvwm3 (with -v option), open xterm, place it over FvwmIconMan window & press F1, I get this message in the log file:

my_test: 'FvwmIconMan' is raised

FvwmIconMan should be be reporting itself as being raised.

fvwm3-iconman

ThomasAdam avatar Mar 20 '21 11:03 ThomasAdam

I tried to play around with this a bit, and what I found out is FvwmIconMan is not triggering VisibilityNotify events except when it is created. So due to this the visibility state is determined by the visibility at the time the window is mapped and never changes. I was not able to figure out why FvwmIconMan is not triggering VisiblityNotify events after its creation.

https://tronche.com/gui/x/xlib/events/window-state-change/visibility.html

somiaj avatar Jul 15 '21 08:07 somiaj

Yes, I have a fix for this, I just need to dust it off. Not for 1.0.4 though.

ThomasAdam avatar Jul 15 '21 21:07 ThomasAdam

This is now a "feature" in that Firefox is no longer supporting this. There's nothing fvwm3 can do to help here.

ThomasAdam avatar May 10 '23 20:05 ThomasAdam