[Libreoffice-ux-advise] [Bug 115449] Add Tooltips to the Horizontal Ruler in Writer

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Nov 24 13:25:15 UTC 2020


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

Heiko Tietze <heiko.tietze at documentfoundation.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |108629
           Keywords|needsUXEval                 |
                 CC|libreoffice-ux-advise at lists |heiko.tietze at documentfounda
                   |.freedesktop.org            |tion.org

--- Comment #4 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
Tried sw/source/uibase/misc/swruler.cxx first, which has a comment part with
tooltip. This one could be improved a bit to not show everywhere but isn't a
solution for this issue.

void SwCommentRuler::MouseMove(const MouseEvent& rMEvt)

    const char* pTooltipResId="";
    if (mbIsHighlighted)
    {
        if (mpViewShell->GetPostItMgr()->ShowNotes())
            pTooltipResId = STR_HIDE_COMMENTS;
        else
            pTooltipResId = STR_SHOW_COMMENTS;
    }
    SetQuickHelpText(SwResId(pTooltipResId));

Second try was svx/source/dialog/svxruler.cxx

void SvxRuler::MouseMove( const MouseEvent& rMEvt )
...
    switch (aSelection.eType)
    {
        case RulerType::Indent:
...
        case RulerType::Tab:
        {
            SetQuickHelpText("Tab");
        }
        case RulerType::Outside:
        {
            SetQuickHelpText("Outside");
        }

Doesn't work either.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=108629
[Bug 108629] [META] Ruler bugs and enhancements
-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list