https://bugs.kde.org/show_bug.cgi?id=511093
Freya Lupen <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #6 from Freya Lupen <[email protected]> --- I can't reproduce the bug (patched Qt6.11, 6.1.0-prealpha-1338347f, macOS), just the warnings, which happen when exiting the line edit. So it seems unlikely they are related to the bug during editing. These warnings are from commitData/closeEditor being called at least twice; first when NodeDelegate::eventFilter receives a key or mouse event, then second when it receives a FocusOut event. In the case of the mouse, the mouse event gets triggered again afterward somehow, so there's another commitData warning (but not closeEditor?). But since FocusOut will get triggered on click, the mouse handling seems redundant anyway. When doing only a FocusOut, by tabbing to another window for instance, there are no warnings. None of this is new, though, so it doesn't explain why the warnings only appear now. In Qt>=6.10, the custom handling of these events is unnecessary as QAbstractItemDelegate::handleEditorEvent can be called instead (though it's still probably necessary to check `edit && edit == d->edit` first). But since it's essentially the same except for not handling the mouse, it still prints these warnings. The Storyboard Docker also does a similar thing in StoryboardDelegate::eventFilter, but with either the existing code or using handleEditorEvent, I somehow don't get any warnings when editing the comment field. -- You are receiving this mail because: You are watching all bug changes.
