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

[COMCTL32] Fix combo box crash on WPS Office 2016 v10.1.0.5614 install #6870

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Doug-Lyons
Copy link
Contributor

@Doug-Lyons Doug-Lyons commented May 11, 2024

Patch by @I_Kill_Bugs

Purpose

Fix crash in comctl32 combobox on WPS Office install.

JIRA issue: CORE-12033

Proposed changes

Only use 'RedrawWindow' from CBResetPos in combo.c when items in combobox != 0.

From @I_Kill_Bugs:
The combobox was sent a WM_PAINT message that it wasn't expecting
which caused the ATL based installer control to try and access listbox strings
that haven't been added yet causing the exception.

@binarymaster binarymaster added the bugfix For bugfix PRs. label May 11, 2024
@HBelusca
Copy link
Contributor

I wonder whether this bug also happens in Wine proper.

@JoachimHenze
Copy link
Contributor

I wonder whether this bug also happens in Wine proper.

see https://jira.reactos.org/browse/CORE-12033?focusedId=142118&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-142118

I do think this PR is a hack/workaround. And the bugfix should land otherwhere instead.

@JoachimHenze JoachimHenze added hackfix PRs that look like hacks/workarounds for deeper problems and removed bugfix For bugfix PRs. labels May 11, 2024
@cbialorucki
Copy link
Contributor

I wonder whether this bug also happens in Wine proper.

Not in latest Wine apparently.
Dark plans to Wine-sync Common Controls to 9.7 after syncing to 5.0 (PR #6789) so I'm curious if that'll be a better fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hackfix PRs that look like hacks/workarounds for deeper problems
Projects
None yet
5 participants