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

--- Comment #18 from Lionel Elie Mamane <[email protected]> ---
Wow, that's a strange bug indeed.

Text button and image button seem to have quite different implementations, not
sure why.

I see that text buttons, in forms/source/component/Button.cxx, have some
special treatment of URLs starting with ".uno:FormController/", in function
OButtonControl::getModelUrlFeatureId:

    // are we a URL button?
    if ( eButtonType == FormButtonType_URL )
    {
        // is it a feature URL?
        if ( isFormControllerURL( sUrl ) )
        {
            nFeatureId = OFormNavigationMapper::getFeatureId( sUrl );
        }
    }

My guess is that the same treatment must happen for image buttons, but doesn't.
Probably should happen either somewhere in ImageButton.cxx or in the parent
class clickableimage.cxx

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

Reply via email to