On 27.11.26 14:32, Sune Vuorela wrote:

On 2026-11-27, Marc Mutz via Development 
<[email protected]><mailto:[email protected]> wrote:


There's nothing we can do anymore, short of halting 6.12.1 (if that's still 
possible). 6.12.1 became incompatible with 6.12.0 (behaviourally, and 
forwards-BiC) and 6.12.2 will be incompatible with 6.12.1 (backwards-BiC), but 
6.12.2 will be compatible with 6.12.0 (in all senses).


Doing a ::resizeEvent(...) that just forwards to base class in both 6.12 branch 
and dev should be a good enough fix for this.


That won't fix the fwd-BiC of 6.12.{0→1}, will pop up again in 6.13 API/ABI 
review and will mean the implementation needs to stay empty until Qt 7.

It's doable, but is it worth the trouble? Do we want to trade a one-time brown 
paper bag for a maintenance hazard for the rest of Qt 6?

I would leave it as is, and wait for the fall-out. You need the user to call 
QMenu::resizeEvent() directly, in a de-virtualized context (e.g. an `override` 
or a direct call on a QMenu that was created on the stack) for the new symbol 
to be used. How many users are there which are affected? The failure mode will 
be a linker error at DLL load time, so they will either report a bug (where we 
can point them to the fix) or they'll just recompile.

Release Team has to decide whether to put a 12.1.1 out or accelerate 6.12.2, or 
do nothing.

First step would be to create a Jira and link the fix, so users can see it's 
already dealt with.

Thanks,
Marc

--
Marc Mutz <[email protected]><mailto:[email protected]> (he/his)
Principal Software Engineer

The Qt Company
Erich-Thilo-Str. 10 12489
Berlin, Germany
www.qt.io<http://www.qt.io>

Geschäftsführer: Mika Pälsi, Juha Varelius, Juha Puputti
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht Charlottenburg,
HRB 144331 B

Public
-- 
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to