PR# 12542 Multiple problems with undocked toolbars

Problem Report Summary
Submitter: prestoat2000
Category: EiffelStudio
Priority: Medium
Date: 2007/04/26
Class: Bug
Severity: Serious
Number: 12542
Release: 6.0.67948
Confidential: No
Status: Closed
Responsible: larryl
Environment: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8.0.7) Gecko/20060915 Firefox/1.5.0.7 Solaris 9 on SPARC
Synopsis: Multiple problems with undocked toolbars

Description
Undocking a toolbar has a number of problems.  Here's what I experienced:

First, delete ~/.es directory and compile sample basic application.  Then:

1. Move main development window near bottom of screen.  Undock Project
   toolbar and try to move it about main window.  If you move the mouse
   too fast, the Project toolbar stops tracking movement of the mouse is
   is "stuck" on the screen.  This makes it extremely difficult to move
   the toolbar to where you want it, as well as causing a great deal of
   confusion.

2. Once the toolbar stops tracking the movement of the mouse, move the mouse
   over the top left part of toolbar "title bar" and left-click to
   place the toolbar at that position.  Toolbar stops moving, but
   Project Settings window comes up, as though I had clicked on the Project
   Settings button (which is directly below where I clicked).  It seems
   that estudio has become confused about positions.

3. Whenever I start or exit the debugger, the undocked Project toolbar
   insists on moving itself back to the upper left corner of the screen,
   regardless of where I placed it in normal mode or debugger mode.

4. Often after moving a toolbar, when I try to move it again nothing
   happens (it won't move).  On a second or third try, it will move.
   I particularly noticed this when I had on one line (the second line),
   the Address toolbar, followed by the Project toolbar, followed by
   the Refactoring toolbar.

5. In the configuration from #4, where Address, Project and Refactoring
   toolbars are all on the same line (in that order), clicking on any of
   the three Toolbar Options buttons brings up the same menu.  This
   seems like the correct behavior, but I found it a bit confusing since
   clicking on one Toolbar Options button and then on a different one
   on the same line shows the same menu overlapping itself (i.e., first
   toolbar "popup" is not dismissed when second Toolbar Options button
   on same line is clicked).  This might be hard to fix and you might not
   even think that it is a bug.

6. Sometimes when I try to undock a toolbar, a menu which allows me to select
   which toolbars are visible (I think that is what it is) pops up.
To Reproduce

										
Problem Report Interactions
From:larryl    Date:2007/07/13    Status: Closed    Download   
Hi, David,

Although I can't reproduce, I believe the last bug (problem 5) is same as bug#13134 which is fixed in revision#69408.

I close this report now. If not fixed, please let me know.

Thanks
Larry

From:larryl    Date:2007/05/23    Download   
Hi, David,

For each problem:

1. It's fixed in revision#68600. Pointer motions will always be tracked now.

2. It's fixed since 1st problem is fixed.

3. It's fixed in revision#68599. The floating tool bar positions are remembered correctly now.

4. This is not a bug, it's a feature. When the tool bars not have enough space in one row. And if pointer is moving in the row for a while. Then docking library starts the tool bar resizing mode. At this time, user can resize the widths of tools bars in the row which pointer hovers. And it also means tool bar docking/floating feature disabled at this point. 

I think this feature made you confused, sorry, so I have put a larger value in revision#68602. The value is control the time before change from docking mode to resizing mode after end user starts dragging a tool bar.

5. I don't have this problem on Ubuntu 64bits. I can't have more than one tool bar option menu showing at the same time. Maybe it's a Solaris special problem. I'll try this problem l
....
Output truncated, Click download to get the full message

From:prestoat2000    Date:2007/05/21    Download   
I believe the "docked toolbar can't be undocked problem" only occurs
when the window in which it is docked is too narrow or too short.
I docked the Project toolbar vertically along the left side of the
main development window.  When I tried to undock it to move it somewhere
else, it wouldn't move.  I then resized the window taller, so that
the Toolbar Options menu has only Customize on it and was then able to
undock the toolbar and move it.