Skip to content
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

fix crash when opening advanced resolution options #4916

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

serprex
Copy link
Contributor

@serprex serprex commented Jan 19, 2025

@Archez
Copy link
Contributor

Archez commented Jan 20, 2025

I'm on mobile so I can't check exactly, but I don't think this is correct. It's disabling and then reenabling on the next line now, so it's not actually impacting any widgets.

@serprex
Copy link
Contributor Author

serprex commented Jan 20, 2025

Yep, testing side by side, this does not fix issue. At least it's an easy crash for me to reproduce

This time I've commented out the offending logic from backtrace & now it's fixed. But seems like hacky workaround

@serprex serprex force-pushed the fix-resolution-crash branch from 2915dd4 to baf9e4a Compare January 20, 2025 00:22
@Malkierian
Copy link
Contributor

How interesting. I was just talking about that function with aMannus earlier today. I'm not exactly sure why it's crashing in the advanced resolution settings, though, considering that is used throughout the entire menubar. The way to fix the tooltips with that is to move that block you commented to the bottom of the function, after the PopItemFlag() call. But I get the feeling that won't fixe the advanced resolution issues.

@Malkierian
Copy link
Contributor

To clarify, the disabled tooltips still wouldn't show with the other tooltips where they are in SohMenuBar.cpp.

@serprex serprex marked this pull request as draft January 20, 2025 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

advanced resolution settings crashes
3 participants