Bug 156734 - [Presentations] Wrong positioning of the dropdown menu for the toolbar dropdown buttons
Summary: [Presentations] Wrong positioning of the dropdown menu for the toolbar dropdo...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
: 24304 (view as bug list)
Depends on: 193318
Blocks: 387148
  Show dependency tree
 
Reported: 2006-09-08 12:56 EDT by Eugene Kuleshov CLA
Modified: 2019-10-05 05:07 EDT (History)
6 users (show)

See Also:


Attachments
appearance of this issue on Synchronize view (17.58 KB, image/gif)
2006-09-08 12:58 EDT, Eugene Kuleshov CLA
no flags Details
Windows Explorer screenshot 1 (15.08 KB, image/png)
2006-09-15 08:25 EDT, Boris Bokowski CLA
no flags Details
Windows Explorer screenshot 2 (17.12 KB, image/png)
2006-09-15 08:25 EDT, Boris Bokowski CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Kuleshov CLA 2006-09-08 12:56:46 EDT
Dropdown menu for the toolbar dropdown buttons is always positioned to the bottom edge of the dropdown button. So, if it does not fit on the screen it will go above that button and will overlap the button itself, so when you click on dropdown button that click is caught by the last item from the dropdown menu that jumps right under the mouse.

To resolve this, drop down menu should be positioned at the top edge of the toolbar button of it does not fit below it.
Comment 1 Eugene Kuleshov CLA 2006-09-08 12:58:41 EDT
Created attachment 49741 [details]
appearance of this issue on Synchronize view
Comment 2 Boris Bokowski CLA 2006-09-15 08:25:07 EDT
Created attachment 50247 [details]
Windows Explorer screenshot 1

This seems to be native behaviour. This is a toolbar in Windows Explorer.
Comment 3 Boris Bokowski CLA 2006-09-15 08:25:54 EDT
Created attachment 50248 [details]
Windows Explorer screenshot 2

...and this is how the menu opens when there is not enough space.
Comment 4 Boris Bokowski CLA 2006-09-15 08:26:55 EDT
Closing as WONTFIX.  What you describe makes sense to me, but it would have to be fixed by Microsoft.
Comment 5 Eugene Kuleshov CLA 2006-09-15 11:32:40 EDT
Boris, do you believe that it is going to happend?

Exmple with Synchronize view is not the worst one. The last action in History dropdows for Search and JUnit views is "Clean", so I hit into it every time. Please somehow address this issue.
Comment 6 Kim Horne CLA 2006-09-18 20:05:39 EDT
Adding Boris to make the conversation fair. :)
Comment 7 Eugene Kuleshov CLA 2006-09-18 20:15:18 EDT
By the way, Back and Forward buttons in Windows Explorer actually do repositioning for dorpdowns...
Comment 8 Boris Bokowski CLA 2006-09-25 12:54:50 EDT
Our code looks very much like Snippet67 from SWT, which has the same behaviour.  Normally (Windows XP), the menu drops down so that the menu's top left corner is at the position we set.  If there is not enough space to let the menu drop down, the menu's bottom left corner will be at the set location.

Steve, do you think we should try to be smart about this?
Comment 9 Kim Horne CLA 2006-10-25 14:35:51 EDT
Paging Dr. Steve.  Dr. Steve, please report to the bug report.
Comment 10 Eugene Kuleshov CLA 2007-06-04 22:04:00 EDT
Does this mean this issue won't be addressed for 3.3?

Mylar is planning to add a new trim bar at the bottom of the screen and use drop-down button on that trim. So, menu positioning is much worse there.
Comment 11 Boris Bokowski CLA 2007-06-04 23:22:35 EDT
(In reply to comment #10)
> Does this mean this issue won't be addressed for 3.3?

Yes - we are out of time for 3.3 - we only fix critical issues at this point.
Comment 12 Steve Northover CLA 2007-06-05 06:25:56 EDT
Bugzilla and/or Lotus is throwing away email at random.  I never got the page from Kim.
Comment 13 Markus Keller CLA 2007-06-22 06:19:51 EDT
*** Bug 24304 has been marked as a duplicate of this bug. ***
Comment 14 Boris Bokowski CLA 2007-06-22 09:32:20 EDT
Moving to SWT for comment.
Comment 15 Steve Northover CLA 2007-06-22 11:30:09 EDT
We WONTFIX this, however, the behavior you want might be implemented as part of the fix for bug 193318.
Comment 16 Steve Northover CLA 2007-06-22 11:31:03 EDT
WONTFIX
Comment 17 Steve Northover CLA 2007-06-22 11:37:56 EDT
Actually, we could probably hack/fix this with TrackPopupMenuEx() by remembering that a Menu.setVisible() was called in response to a drop down tool item and the menu was positioneed at the coordinates we suggested.  If this happened, we could store the tool item rectangle and use it when the menu is shown.
Comment 18 Eclipse Genie CLA 2019-10-04 16:27:59 EDT
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.

--
The automated Eclipse Genie.
Comment 19 Karsten Thoms CLA 2019-10-05 05:07:09 EDT
I‘ll close this as WONTFIX now. Reopen when this issue still exists and a patch is planend.