bugGNU TeXmacs - Bugs: bug #34103, Help balloons for textual menu...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #34103: Help balloons for textual menu items not implemented

Submitted by:  Joris van der Hoeven <vdhoeven>
Submitted on:  Tue 23 Aug 2011 01:41:35 PM UTC  
 
Category: Qt portPriority: 5 - Normal
Item Group: ErrorStatus: Fixed
Privacy: PublicAssigned to: Miguel de Benito <mdbenito>
Originator Name: Open/Closed: Closed
Release: Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Mon 12 Mar 2012 08:45:50 PM UTC, comment #1:

This is fixed in the SVN now. However, due to the menu bar implementation under MacOS some tradeoffs had to be made:

Either one displays tooltips immediately, or one uses timers. Since the former is quite ugly when going through long lists, such as the "Recent" submenu, I had to use timers. This is the best I could come up with: under MacOSX menu items receive no mouse events, nor are they QWidgets whose geometry we can query. As far as I know, it is not possible to know whether the menu item currently under the cursor is some particular one, so in order to avoid displaying outdated toolTips (because the user moved fast over items) we compute the distance the cursor moved since the hovered() signal (the only one available) fired. This is obviously wrong, and will behave weirdly under certain resolutions, for given menu item sizes, etc. In my opinion it is currently usable and better than an instant popping up of the tooltip.

Another problem is that one typically moves for a while horizontally over the first item in an extensible menu, so once the user stops, the distance is bigger than the given constant and no tooltip is displayed unless the item is left and reentered. I can live with that for the moment.

Miguel de Benito <mdbenito>
Project MemberIn charge of this item.
Tue 23 Aug 2011 01:41:35 PM UTC, original submission:

I just added a "Recent" submenu in the "File" menu.
Recent file names are displayed by there short names (tails),
but a help balloon indicates the full name. However,
this does not work under Qt (it does work with the X11 version).

Joris van der Hoeven <vdhoeven>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mdbenito (Posted a comment)
  • -unavailable- added by vdhoeven (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 12 Mar 2012 08:45:50 PM UTCmdbenitoStatusConfirmed=>Fixed
      Assigned tomgubi=>mdbenito
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1