You are not logged in.

#1 2021-06-13 16:03:32

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

[Solved] [openbox] Firefox 89 window immovable

So Firefox 89 (the new version with the new ugly UI), just doesn't work in my Openbox environment. There is no system title bar and the option to turn it on either doesn't work or has changed. But even worse, Openbox doesn't even seem to recognize it as a window. I can't Alt-left click to move it or Alt-right click to resize it. Clicking on it doesn't making it the active window - I have to click on the button in the task bar. And on and on. Anyone else see this and have an idea for fixing it? It is virtually unusable as it is.

Last edited by jdarnold (2021-06-14 14:19:13)

Offline

#2 2021-06-13 16:23:39

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [Solved] [openbox] Firefox 89 window immovable

I just tried Openbox to see what's going on, and things work fine here for me. There's no problems like you report. I can move and resize the Firefox window with Alt+click. I see the Openbox window title bar but moving/resizing still works if I use "undecorate" in the context menu. I'm starting picom as compositor in the autostart script.

Offline

#3 2021-06-13 21:16:11

MALsPa
Member
From: albuquerque
Registered: 2013-12-10
Posts: 12

Re: [Solved] [openbox] Firefox 89 window immovable

Wow, I had this problem come up here, but with Fluxbox. I dug around online and found that somebody else had seen this issue, also with Fluxbox. I haven't seen the same problem in Openbox here, but you might want to try this about:config tweak, worked for me for Fluxbox:

- Check that gfx.webrender.all is set to false (it was already set to false here).
- Toggle gfx.webrender.force-disabled from false to true.

I sure hope this works for you in Openbox.

Offline

#4 2021-06-13 21:24:20

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [Solved] [openbox] Firefox 89 window immovable

flubox from the repos or the  git version?
There used to be a bug reg. 32bit windows which sounds related and is fixed in git since 4 years or so, but there hasn't been a release in a long time…
(Feel encouraged use the git, I happen to know that it has seen quite some bugfixes ;-)

Offline

#5 2021-06-13 21:41:12

MALsPa
Member
From: albuquerque
Registered: 2013-12-10
Posts: 12

Re: [Solved] [openbox] Firefox 89 window immovable

Thanks, seth. Yeah, it's from the repos. I'm gonna stick with that since Firefox is rendering correctly for me now after the about:config tweak. This issue is way over my head and I really have no idea what's going on, but I do hope what I did also works for jdarnold in Openbox.

Offline

#6 2021-06-13 21:43:06

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [Solved] [openbox] Firefox 89 window immovable

You could compare the output of "xwininfo" on the FF window w/ the good and the bad setting, notable its depth.

Offline

#7 2021-06-14 14:06:23

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: [Solved] [openbox] Firefox 89 window immovable

Thanks, I'll give the about:config a try. For me, both openbox and firefox are from the repos. I don't currently use a compositor. Wonder if that would help with my problem? I used to use compton (according to my autostart) but I don't currently have it installed.

Offline

#8 2021-06-14 14:10:16

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [Solved] [openbox] Firefox 89 window immovable

You don't need a compositor for 32bit windows (please check whether FF creates one for you)
The problem might then be that openbox tries to unconditionally reparent that into a 24bit window (that was the problem w/ fluxbox)

Offline

#9 2021-06-14 14:17:58

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: [Solved] [openbox] Firefox 89 window immovable

Thanks MALsPa! That worked. And, just for posterity's sake, here's the xwininfo:

Before the change:

xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x5600003 "Mozilla Firefox"

  Absolute upper-left X:  0
  Absolute upper-left Y:  22
  Relative upper-left X:  0
  Relative upper-left Y:  22
  Width: 2150
  Height: 2091
  Depth: 32
  Visual: 0x7a
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x5600002 (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+22  -5530+22  -5530-47  +0-47
  -geometry 2150x2091+0+22

After the change:

xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x5600003 "[openbox] Firefox 89 window immovable / Applications & Desktop Environments / Arch Linux Forums — Mozilla Firefox"

  Absolute upper-left X:  1689
  Absolute upper-left Y:  23
  Relative upper-left X:  0
  Relative upper-left Y:  22
  Width: 2150
  Height: 2091
  Depth: 24
  Visual: 0x2b
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x5600002 (not installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +1689+23  -3841+23  -3841-46  +1689-46
  -geometry 2150x2091+1688+0

So yeah, Seth, that sounds like it. Do you suppose there will be a performance penalty of any kind?

Offline

#10 2021-06-14 15:30:09

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [Solved] [openbox] Firefox 89 window immovable

If anything, 24 bit windows are gonna be "faster" (they don't require alpha handling by a compositor)
But you probably want to file a bug against openbox (upstream) because FF isn't the only RGBA client around and their count will likely rise (esp. w/ an active compositor for clients that discriminate by that aspect)

Offline

#11 2021-06-14 20:45:21

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: [Solved] [openbox] Firefox 89 window immovable

Oh man, how embarrassing! I am *NOT* using openbox, I am using fluxbox. Which hasn't been updated in 6 years or so. Probably time to look into a new WM. Maybe openbox? yikes

Offline

#12 2021-06-14 20:48:13

seth
Member
Registered: 2012-09-03
Posts: 49,981

Offline

#13 2021-06-14 21:09:23

MALsPa
Member
From: albuquerque
Registered: 2013-12-10
Posts: 12

Re: [Solved] [openbox] Firefox 89 window immovable

jdarnold wrote:

Oh man, how embarrassing! I am *NOT* using openbox, I am using fluxbox. Which hasn't been updated in 6 years or so. Probably time to look into a new WM. Maybe openbox? yikes

Well, that explains why I haven't seen this issue in Openbox, I guess!

Nothing wrong with trying out a different window manager, of course. Me, I'm gonna keep using both Fluxbox and Openbox here, even if they're "old" or whatever. Glad the about:config tweak worked, anyway!

Offline

#14 2021-09-13 13:24:48

vitac
Member
Registered: 2007-04-27
Posts: 5

Re: [Solved] [openbox] Firefox 89 window immovable

This issue has reappeared after updating to firefox 92.0-1 in Fluxbox.

I was able to fix it by toggling gfx.webrender.force-legacy-layers from false to true in addition to already applied changes mentioned in
https://bbs.archlinux.org/viewtopic.php … 5#p1977935

Offline

#15 2021-09-13 14:42:32

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [Solved] [openbox] Firefox 89 window immovable

Offline

#16 2021-09-13 20:51:18

MALsPa
Member
From: albuquerque
Registered: 2013-12-10
Posts: 12

Re: [Solved] [openbox] Firefox 89 window immovable

vitac wrote:

This issue has reappeared after updating to firefox 92.0-1 in Fluxbox.

I was able to fix it by toggling gfx.webrender.force-legacy-layers from false to true in addition to already applied changes mentioned in
https://bbs.archlinux.org/viewtopic.php … 5#p1977935

Thank you. This worked for me just now.

Offline

Board footer

Powered by FluxBB