Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 22724 - tooltips are painting out of screen
Summary: tooltips are painting out of screen
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 26821 168996 (view as bug list)
Depends on: 19824
Blocks:
  Show dependency tree
 
Reported: 2002-08-22 12:02 EDT by quartz quartz CLA
Modified: 2008-05-29 19:53 EDT (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 quartz quartz CLA 2002-08-22 12:02:16 EDT
for example, the tasks location columns is often on the right, and too small, so
a tooltip is displaying the missing information but the tooltip is positionned
across screen boundary.
Comment 1 Dirk Baeumer CLA 2002-08-22 12:13:51 EDT
Also happens with Explorer under Windows 2000. Seems to be platform reality. 
Moving to SWT for comments.
Comment 2 quartz quartz CLA 2002-08-22 15:31:10 EDT
tooltips are like java.awt.Window. Nothing irrealisable in that.
No, explorer does not clip tooltips. What are you looking at?!
Comment 3 Steve Northover CLA 2002-08-23 09:53:12 EDT
This can be fixed (for non-native tooltips) when API is added to address muti-
monitors.  I believe that tooltips are "clipped" in IE, depending on the 
version.

Dirk, if the tooltip in question is non-native, this PR belongs to UI and 
someone there.  If the tooltip is native, it belongs in SWT.  Do you know which 
tooltip quartz12h is talking about?
Comment 4 Steve Northover CLA 2002-09-11 09:28:29 EDT
Forgot to add Dirk to the discussion.  Dirk?
Comment 5 Dirk Baeumer CLA 2002-09-11 10:01:28 EDT
He is talking about a native tooltip in the task list (if a column has the ... 
at the end). 

If Task list has to fix something the PR belongs to Platform/UI.
Comment 6 Sonia Dimitrov CLA 2002-11-21 09:34:20 EST
*** Bug 26821 has been marked as a duplicate of this bug. ***
Comment 7 Steve Northover CLA 2003-01-28 18:26:48 EST
If it's a native tooltip, we won't try to work around it.  Sorry.
Comment 8 quartz quartz CLA 2003-01-28 18:40:12 EST
Oh, common...!
how could a Windows tooltip be out of screen... but whatever...
Just make the task list tooltip non native!
It look so stupid to barely get 1 inch of tooltip when the text is like 5 inches!
You got so many other tooltip everywhere else working properly, why not use
these for the task bar...?
Comment 9 Eddie Galvez CLA 2005-06-13 16:25:28 EDT
Just adding in my 2 cents. on my windows machine (XP, dual monitor but that 
may not be affecting things) if I use windows explorer, in details view, and 
squish a folder name so "..." appears, if i put it close to the right edge of 
either monitor, the tooltip appears and does not cross to the other screen or 
off screen; the whole tooltip is "right aligned" to the edge of the screen.

This suggests that its possible for a view (I tried it on the problems view, 
squishing "in folder" to get ... and putting it close to the edge of screen) 
that has a *Table to do this too, no?
Comment 10 Michael Spector CLA 2007-01-04 06:38:00 EST
*** Bug 168996 has been marked as a duplicate of this bug. ***
Comment 11 Steve Northover CLA 2008-05-29 12:13:48 EDT
This is a Windows bug we won't work around.
Comment 12 quartz quartz CLA 2008-05-29 19:53:47 EDT
Just to let you know, the editor pane tabs tooltip are also displayed out of screen. Dunno if this is native or not. But there is more than the task view.

Have you tried at to put 2 screens, and/or with the primary (#1) on the 'right' of the secondary (#2)?

My eclipse at home (only 1 screen) works well too. So it is quite important that dual monitors be used to reproduce.

Meanwhile, it is not so much about a workaround, only one correct implementation is required, one which acknowlege the multimonitor dispositions.

Note that with JNA (https://jna.dev.java.net/) you can quickly call any native lib to obtain the multimonitor details. No native code to write anymore.

Fixing this is not a workaround but a usability improvement. If tooltips are not readable, might as well remove them.