Issue 55150

Summary: bug in CTRL to prevent toolbar docking
Product: gsl Reporter: norbert2 <norbert.notz>
Component: codeAssignee: AOO issues mailing list <issues>
Status: REOPENED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, kpalagin
Version: 680m122   
Target Milestone: OOo 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description norbert2 2005-09-27 20:54:33 UTC
This issue is related to issue 43499, which introduces CTRL for preventing
toolbars from docking.

Thanks for this feature. But it is a bit buggy implemented. Please reproduce the
following steps:


A problem when pressing CTRL before holding down the left mouse button when
moving undocked toolbars over docking area:


- make sure there is a floating toolbar

- hold down CTRL

- move the toolbar over the docking-area (while still holding the left mouse
button down)

- release CTRL:

No docking frame is shown. The mouse has to be move a bit to allow docking.



-----------------------------------------------


A problem concerning docked toolbars:


- move a toolbar out of the docking-area

- and move it back over the docking area (while still holding the left mouse
button down)

- hold down CTRL: The CTRL-key has no effect. As you can see, the docking frame
does not vanish which indicates that the toolbar will be docked after releasing
the left mouse button, although CTRL is hold down.
Comment 1 stephan_schaefer 2006-11-22 13:26:59 UTC
ssa->tm: please confirm and decide about a target, pl would be the owner then.
Comment 2 kpalagin 2007-05-22 20:01:04 UTC
Confirming with 2.2 on WinXP.
Comment 3 thorsten.martens 2007-07-10 12:09:58 UTC
Not reproducible in a more recent build like a m217 anymore -> worksforme
Comment 4 kpalagin 2007-07-10 13:05:02 UTC
Still occurs in m218. Reopening.
Comment 5 thorsten.martens 2007-07-10 13:26:01 UTC
TM->kpalagin: I can't reproduce it with a recent build on WinXP. When dragging a
floating toolbar into the docking area, a docking-frame is shown. When pressing
CTRL while dragging a floating toolbar into the docking area, no docking-frame
is shown,...releasing CTRL shows the docking-frame at once. Please provide more
information which may help me to reproduce the problem. Thanks in advance !
Comment 6 kpalagin 2007-07-10 13:41:42 UTC
tm,
as described in first post - 
- make sure there is a floating toolbar (for example undock Pages in Draw)

- hold down CTRL

- move the toolbar over the docking-area (while still holding the left mouse
button down)

- release CTRL:

No docking frame is shown. The mouse has to be move a bit to allow docking.
Comment 7 thorsten.martens 2007-07-10 13:54:37 UTC
OK, I see,....a bit... a really, really little bit. I think it's only 1  dot,
but you're right !

TM->CD: please have a look. I set target to 2.x
Comment 8 norbert2 2007-07-10 18:01:18 UTC
Please don't forget the second bug desycribe in my initial comment!

Would it be better to use this issue for the first bug only and I post the
second bug into a second issue?
Comment 9 carsten.driesner 2007-07-23 10:28:12 UTC
cd->pl: Please take over. Looks like the VCL based docking code doesn't call the
handlers when the CTRL-key is pressed or released (it always needs mouse
movement to call the handlers).
Comment 10 norbert2 2007-07-23 18:34:34 UTC
Is this bug related to Issue 79920 and/or Issue 25982 ?
Comment 11 philipp.lohmann 2007-11-30 11:16:59 UTC
target
Comment 12 kpalagin 2008-03-01 08:12:54 UTC
Philipp,
are we on track for 3.0 with this problem?

Thanks in advance.
WBR,
KP.
Comment 13 philipp.lohmann 2008-03-04 10:31:38 UTC
pl->tm: cannot reproduce in 680m247, neither Linux nor Windows nor Mac/Aqua. The
docking frame appears/disappears depending on Ctrl being pressed, also without
mouse movement.
Comment 14 kpalagin 2008-03-04 19:06:53 UTC
It turns out that no docking is possible when "Show window contents" is 
disabled - docking frame does not appear.

Ctrl indeed works.
Comment 15 thorsten.martens 2008-06-17 07:43:23 UTC
show window contents while dragging must be set on to for having this feature
working corectly. So this behaviour is not a defect. Setting issue to
"worksforme" and closing !
Comment 16 norbert2 2008-06-19 18:39:53 UTC
Both problems described in the initial comment are still present.
tested build: DEV300 m19 Linux

"show window contents while dragging" IS ENABLED!

Please read issues more carefully before setting WORKSFORME!!!

-> REOPENED
Comment 17 norbert2 2008-06-19 18:41:34 UTC
tm, feel free to ask me if you have difficulties in reproducing the steps.
Comment 18 thorsten.ziehm 2008-08-14 12:34:32 UTC
Changed target to 3.x.