Bug 364127 - Tooltips don't respect monitor bounds.
Summary: Tooltips don't respect monitor bounds.
Status: NEW
Alias: None
Product: GEF
Classification: Tools
Component: GEF-Legacy Draw2d (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: gef-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-18 04:44 EST by bart.smets CLA
Modified: 2011-12-02 03:28 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bart.smets CLA 2011-11-18 04:44:58 EST
Build Identifier: M20080911-1700

We have an editor built using the GEF framework and recently we ran into an issue when dealing with multiple display monitors. Take the following setup: 2 monitors next to eachother, with our application running maximized on the left monitor. When hovering a figure close to the right edge, a tooltip pops up but if it is long enough, it will extend onto the second display, making it hard to read the message.
The tooltip's location is calculated using the ToolTipHelper class which doesn't seem to take multiple monitors with display extension into account. The debugger showed that the clientArea was in fact 3840x1080, which corresponds to both monitors.

It seems impossible to use a custom ToolTipHelper without hacking too much into the Draw2D framework.


Reproducible: Always