Author Topic: B6: Windows, wierd toolbar docking behavior  (Read 1349 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2113
  • Hero Points: 189
  • Text
B6: Windows, wierd toolbar docking behavior
« on: October 19, 2014, 10:55:39 pm »
Normally search results is docked on the bottom of the edit window.


#1
Grab this tool window and start dragging.
While holding the LMB, press ESC.
Continue dragging.
The Search results tool window is still attached to the mouse, but is now behind the Slick main window.
ESC ought to undo the drag in progress.



#2

Grab this tool window and start dragging.
While holding the LMB, press Alt-TAB and switch to another application.
Start typing - keyboard focus is on the other application.
Continue dragging - even though SLick doesn't have focus, you can still drag the search window around and drop it someplace.
ALT-TAB ought to cancel the drag and put the tool window back where it started.



#3

Grab this tool window and start dragging.
While holding the LMB, press Alt-TAB and switch to the desktop (on Win8, but this should work on Win7 too).
All apps minimize.
Continue dragging, and drop SearchResults.
Even though Slick is minimized, SearchResults isn't.
ALT-TAB ought to cancel the drag and put the tool window back where it started.




I hadn't noticed before, but tool windows being dragged appear as top level windows.


Rodney

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 759
  • Hero Points: 50
Re: B6: Windows, wierd toolbar docking behavior
« Reply #1 on: October 20, 2014, 01:13:36 am »
Drag-drop is "opaque" now, so it would be harder to cancel the operation (it could be done, but maybe not this time around). I will add your Esc/Alt+Tab cases to my todo list. Thanks.

++rodney

jporkkahtc

  • Senior Community Member
  • Posts: 2113
  • Hero Points: 189
  • Text
Re: B6: Windows, wierd toolbar docking behavior
« Reply #2 on: October 20, 2014, 01:26:12 am »
Can it just be put back where it came from?
On begin drag, save layout, on cancel restore.
Or, this doesn't work because save layout doesn't do toolbars?


Slick 2013 does cancel.


Rodney

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 759
  • Hero Points: 50
Re: B6: Windows, wierd toolbar docking behavior
« Reply #3 on: October 20, 2014, 03:02:22 am »
Drag operation will now cancel on Esc and system key (Alt+xxx). In the next build.

++rodney