-
-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steam menus disappear when the mouse is hovered over #924
Comments
My guess is this is related to #761 (I think steam uses electron). Fvwm has currently chosen to not create work around for this behavior, even though other wms have. I don't know the details well enough to know what workaround fvwm would need to deal with these behaviors of menus from chromium/electron apps. |
Of course, if I switch steam to unmanaged (Style steam Unmanaged) the issue is gone. So, by common sense, if
Then fvwm can have a solution eg. a reworked logic, not a quasi workaround. |
I noticed that when the menu disappears, the output of the
After doing some debugging, I found that removing these two lines stopped the menu from disappearing Line 2401 in 1d1c257
Line 2413 in 1d1c257
|
fvwm 2.6.x seems to behave the same, so it might be an old problem. |
this is definitely an issue in 2.6x. I've had this for a long time now; menus are broken in steam, and on some websites in various browsers. Possibly also related: there is a problem in getting the 'cast' menu to show up in chrome/chromium (i think i put in an issue about it before at some stage). edit: here is a (potentially-related) issue with getting the 'cast' menu to show up in chrome/chromium: |
So, given a 'fix' was identified above for fvwm3, has anyone checked into side effects of that ? If there are such then would this be amenable to an extra user configuration option? It's affecting me with fvwm3 v1.1.0 and latest Steam client -> ValveSoftware/steam-for-linux#11075 |
Unfortunately this doesn't appear to address the issue for me when using
just as my mouse pointer moves off Now to see if any of the similar calls affect the |
Oh, I and I should note that I can have my focus configuration in total be:
and this code tweak continues to allow the Steam menus to work. The second line (Store etc) menus also continue to work, as does the top-right profile dropdown menu. |
I instrumented all of the calls to
(with events.c:3741 called during Firefox startup (multiple windows). This is https://github.com/fvwmorg/fvwm3/blob/1.1.0/fvwm/events.c#L3731 No such call for any of the instrumented code sections with |
OK, I've found a call that affects the SloppyFocus scenario at https://github.com/fvwmorg/fvwm3/blob/1.1.0/fvwm/events.c#L2399 If I comment this out than the Steam menus work properly even with SloppyFocus active. Edit: No, Ignore what follows: However this does appear to adversely affect some Motif application functionality. Specifically I installed the Debian package Using FVWM's Identify it looks like this 'Open' dialogue is wholly its own top-level window. This from clicking in the affected "file system location" text box:
Hmmm, let me try with this line commented out, but the "original two" still in effect, given at least one comment around those mentions Motif (which is why I was checking this at all). |
So, with ClickToFocus the two lines identified in #924 (comment) being remove are sufficient to have Steam menus work. But with SloppyFocus you also need to remove https://github.com/fvwmorg/fvwm3/blob/1.1.0/fvwm/events.c?rgh-link-date=2024-07-13T12%3A58%3A25Z#L2399 The single Motif application I tested appears to work properly despite this functionality being removed. Looking at the code and comments, a lot of this stuff is very old. How sure is anyone that much of this code is still needed, especially when marked as a workaround for specific decades old issues ? |
@Athanasius thank you for debugging. I encountered similar issues with some Java programs and SloppyFocus. Removing that old Motif hack finally resolved the problem. @ThomasAdam could we consider removing that old Motif hack or at least making it optional? |
It's on my list to look at. |
I was just going to submit a PR with my changes, and thought to check one last time if this was still actually an issue with Either other changes in fvwm3 since have fixed it, or something Steam has changed has addressed this. |
I'm still experiencing this issue with some Java applications like Maple. On fvwm2 I can also fix this with your changes. |
@ch-f Do you see it with Libreoffice? |
I don't use Libreoffice often and haven't seen an issue there. |
OK, Well, the original patch is not correct and I'm not applying it. What I need is an application which isn't Steam, to be able to debug this myself. |
LibreOffice 7.4.7.2 (as packaged in Debian bookworm) doesn't show any menu issues for me. Main menus work, including their popouts, and the popouts on things like text styling or colour also work without issues. At this stage, with Steam no longer exhibiting the issue, I don't know of an app that does exhibit the issue. I have to assume that, despite initially dismissing this as a WM issue, Steam developers did change something their end. But, separately, perhaps it's still true that some of the very old hacks related to Motif and the like are no longer necessary ? i.e. if any Motif app continues to work without those hacks perhaps they should be removed. |
See the title of the bug (impacted menu entries are placed into window's title (?), i.e. "Steam", "View", "Friends", etc.).
When you click on a menu entry, try to hover over the menu and the menu disappears.
Under different wms steam works fine (pekwm, icewm, openbox).
As I recon this was bug intro'd this year (2023), however, I haven't put any effort into identifying which commit causes this yet
The issue also exists with the default config file.
The text was updated successfully, but these errors were encountered: