[Libreoffice-bugs] [Bug 128749] Macro security level not displayed correctly in non-gtk3 backends

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Nov 13 18:53:49 UTC 2019


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

--- Comment #4 from Jan-Marek Glogowski <glogow at fbihome.de> ---
(In reply to Justin L from comment #3)
> A very ugly work-around would be for MacroSecurityLevelTP to:
>     if (pCheck)
>     {   //ensure state is fully toggled...
>         pCheck->set_active(false);
>         pCheck->set_active(true);
>     }

You really can't do this, as this would need fixes for all users of radio
items. This is just the first case found, which is now broken in master.

While looking into this problem I eventually came up for a fix for bug 108687
in Gerrit as: https://gerrit.libreoffice.org/#/c/82608/
It's smaller as it looks, as it changes quite some indention and refactors some
code by dropping the bool parameters of GetRadioButtonGroup, which could /
should be done in a separate patch. I've written quite a few comments into the
commit message, but maybe this should be moved into bug 108687 altogether?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191113/a80020e6/attachment.html>


More information about the Libreoffice-bugs mailing list