https://bugs.documentfoundation.org/show_bug.cgi?id=58511

--- Comment #15 from ๆž—ๅšไป Buo-ren Lin <[email protected]> ---
Hello all, after some debugging with the help of VSCode Copilot w/ Claude
Sonnet 4 LLM I seemed to have pinpointed the root case of this bug!

In the SwWrtShell::DelRight class method where the cut operation logic will
call, the GetSelectionType() call returned 0x10200 for this object, which is a
bitwise OR-ed value of SelectionType::FontWork and SelectionType::DrawObject
and assigned the value to the nSelection variable. The variable won't match any
cases in the subsequent switch statement where the object removal operation
will be done as all the cases only match a single SelectionType value.

I have submitted a patch to fix this issue:
https://gerrit.libreoffice.org/c/core/+/187294
, feel free to check it out.

Best regards,
Buo-ren Lin

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to