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

--- Comment #19 from Tamás Zolnai <zolnaitamas2...@gmail.com> ---
Ok, then. So as I see, we can agree in not selecting any of the buttons when we
have an ambigous fill. The relevant difference between selecting "None" or none
of the buttons is that in the first case transparent color is applied. So I
guess Jay also happy with the second case.

@Ekansh Jha: If you are still interested in working on this easy hack, that is
the behavior we need to have (selecting none of the buttons on area /
background page).
In SvxAreaTabPage::ActivatePage() method you can see the algorithm which
selects the button based on fill type. When we have ambigous fill properties
you need to skip setting any button. Also make sure that in
SvxAreaTabPage::DeactivatePage() method SfxItemSet is not changed, when no
button is selected.
To find out how to check whether fill properties are ambigous, I suggest to
check what happens on Color page (SvxColorTabPage class). Since it behaves
differently in case of ambigouity, I expect this information is there in some
form.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to