Menu

#5 Description tooltip in task view

closed
None
5
2012-09-15
2007-04-28
No

A patch for feature request #1642608 and its duplicates: a tooltip showing the task description in the task views. Right now, staying on any column shows the task description but it is possible to customize the tooltip content based on the column the pointer hovers.

The tooltip is actually a wx.Frame so it's also possible to do something more 'eye-candy' than just displaying the description as text :)

Drawback: under Windows, the main frame looses focus when the tooltip shows up. This doesn't happen under Linux.

Applies against current CVS.

Discussion

  • Jérome Laheurte

     
  • Frank Niessink

    Frank Niessink - 2007-04-28

    Logged In: YES
    user_id=1214161
    Originator: NO

    Hi Jerome, thanks for the patch. I tested it under Windows XP. I see a couple of issues with the current implementation:
    - The loss of focus that you mention
    - The interference with the normal tooltips in the list control for items that are too wide to be fully displayed
    - The difference in font and fontsize with regular tooltips

    Do you think these issues can be easily fixed?

    Thanks, Frank

     
  • Jérome Laheurte

    Logged In: YES
    user_id=686333
    Originator: YES

    The loss of focus that you mention

    I already tried to use some win32-specific code to avoid that, to no avail. I didn't try every combination of window styles though, so there is still hope :)

    The interference with the normal tooltips in the list control for items that are too wide to be fully displayed

    I think that if I can solve the focus problem, this will be fixed as well, since the regular tooltip disappears when the main frame looses the focus.

    The difference in font and fontsize with regular tooltips

    Should be easy to fix for Windows, more difficult in a cross-platform way.

    Do you think these issues can be easily fixed?

    Easily, maybe not. But they can be fixed. I think I can get something working for tomorrow. Maybe :)

     
  • Jérome Laheurte

    Logged In: YES
    user_id=686333
    Originator: YES

    This new patch should fix all the issues; tested under Linux and XP Pro.
    File Added: tooltip2.diff.gz

     
  • Jérome Laheurte

     
  • Frank Niessink

    Frank Niessink - 2007-04-30

    Logged In: YES
    user_id=1214161
    Originator: NO

    Looks great on Windows XP. Will test on Mac OSX later.

    Thanks, Frank

     

Log in to post a comment.