Index | Thread | Search

From:
Courtney <courtney@courtnix.systems>
Subject:
Re: firefox popup windows
To:
ports@openbsd.org
Date:
Tue, 12 Mar 2024 09:22:22 -0700

Download raw body.

Thread
I don't know about xmonad, but I've had issues with it since ~121 I believe.
At first the popups were invisible but would cover the screen where they
should appear. 123 made it "better". My solution was to use xprop to get the
window information and I found that the window role for these 
notifications is
"alert" type. I added this to my i3 configuration which solved the issue:

for_window [window_role="alert"] floating enable
no_focus [window_role="alert"]

Maybe there's an equivalent to that in xmonad.

Courtney

On 3/11/24 11:52, Greg Steuck wrote:
> I recently noticed that notification that firefox shows for Google Chat
> are displayed as ordinary windows by xmonad as opposed to corner popups.
> Is this a recent change or did I simply not notice this behavior before?
>
> Anybody else hit this? Any workarounds?
>
> The windows have somewhat different properties (Override Redirect State)
> which may explain the delta in behavior.
>
> firefox:                                                   chrome:
> 							
> xwininfo: Window id: 0x36039ec (has no name)		   xwininfo: Window id: 0x360001f (has no name)
> 							
>    Absolute upper-left X:  0				     Absolute upper-left X:  5205
>    Absolute upper-left Y:  1080				     Absolute upper-left Y:  1974
>    Relative upper-left X:  0				     Relative upper-left X:  5205
>    Relative upper-left Y:  1080				     Relative upper-left Y:  1974
>    Width: 958						     Width: 540
>    Height: 1078						     Height: 171
>    Depth: 32						     Depth: 24
>    Visual: 0xcc						     Visual: 0x21
>    Visual Class: TrueColor				     Visual Class: TrueColor
>    Border width: 1					     Border width: 0
>    Class: InputOutput					     Class: InputOutput
>    Colormap: 0x360002b (not installed)			     Colormap: 0x20 (installed)
>    Bit Gravity State: NorthWestGravity			     Bit Gravity State: NorthWestGravity
>    Window Gravity State: NorthWestGravity		     Window Gravity State: NorthWestGravity
>    Backing Store State: NotUseful			     Backing Store State: NotUseful
>    Save Under State: no					     Save Under State: no
>    Map State: IsViewable					     Map State: IsViewable
>    Override Redirect State: no				     Override Redirect State: yes
>    Corners:  +0+1080  -4800+1080  -4800-0  +0-0		     Corners:  +5205+1974  -15+1974  -15-15  +5205-15
>    -geometry 958x1078+0-0				     -geometry 540x171-15-15
>
> Thanks
> Greg
>