Community
Participate
Working Groups
This occurs with the latest org.eclipse.jface plugin from HEAD. On Linux-GTK, if an org.eclipse.jface.window.ToolTip window extends beyond the edge of the screen, it is not shown at all. It seems that by commenting out the following lines from ToolTip.java the problem is solved: 372: Point cursorLocation = tip.getDisplay().getCursorLocation(); 373: 374: if (cursorLocation.y == location.y && location.x < cursorLocation.x 375: && location.x + size.x > cursorLocation.x) { 376: location.y -= 2; 377: }
Created attachment 172156 [details] Test plug-in that demonstrate the issue Attached a test project which illustrates the issue. 1. Import > General > Existing projects in workspace 2. Browse to the archived testcase 3. Launch the plug-in project 4. Open the "Sample View" view 5. Hover in the right-side of the sample view and see the tooltip is displayed as expected 6. Next, position to the workbench / view so that right extremity of Sample View is near the right extremity of the screen 7. Hover the mouse cursor near the right extremity of the Sample View. The tool tip is not displayed. If you then hover near the left edge again so that the tooltip fits entirely on the screen, it is displayed.
Any chance this will be looked at during the 3.6.2 cycle?
Do you have any outlook of when this bug will be addressed in?
Given the problem, I don't see us looking at this for 3.6.2, since it is platform dependent and also the user can see the tooltip in most cases. It would be helpful to know how wide the "no tooltip" area is when the bug is seen. Are we talking about a few pixels or more than that? (Screenshot would help).
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.