View Issue Details

IDProjectCategoryView StatusLast Update
0017557LazarusWidgetsetpublic2014-09-22 07:23
ReporterMartin Friebe Assigned ToZeljan Rikalo  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version0.9.29 (SVN) 
Summary0017557: QT: Auto-Drag: docking fails
DescriptionIn the attached app (ignore the extras it was made for anuther bug report) form2 is set to start docking automatically, form1 is a docksite.

On Windows you can move form2 and it starts docking, and you can dock it to form1.

On QT, docking seems to start (a dock area is drawn), but then the form is moved normally, and the dockarea is left behind.
Additional InformationEither fix docking (probably dragging too?)for this situation, or prevent automatic start of docking in this situation. (GTK2 does not start automatic docking neither, IIRC because gtk2 doesn't notify the app at all about it being moved ? => so behaviour may maybe be decided ? or can gtk2 be fixed)

In any case the current case (half starting docking) is wrong.
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetQT
Attached Files

Relationships

related to 0026759 closedZeljan Rikalo Drag'n'drop is broken with QT bindings 

Activities

2010-10-06 19:10

 

docked_focus_bug.rar (3,451 bytes)

Zeljan Rikalo

2010-10-06 21:11

developer   ~0041552

I've tried under linux and nothing happens. Do I have to install something else (some package etc) ?

Martin Friebe

2010-10-06 21:52

manager   ~0041555

I don't have any of the DockingMgr packages (AnchorDock or EasyDock) installed. So I guess standard installation.

Apparently GTK2 does not note (or notify the app) if a window grabed at it's window-bar (afaik, that's why this doesn't work under gtk).
Maybe it's X not gtk, so maybe QT under linux can't do it.

Under windows an app notices, so drag/docking get's started.

Graeme Geldenhuys

2010-10-07 08:09

reporter   ~0041567

@Martin,
Maybe Lazarus must introduce drag-handles for forms. eg: All toolbar windows have such a drag handle (normally on the left edge), MSEgui has them too for forms.

Mattias Gaertner

2010-10-07 09:31

manager   ~0041573

@Graeme:
After long discussions it was decided, that the docking manager should do the drag handles. The LCL should only provide the basic techniques.

Issue History

Date Modified Username Field Change
2010-10-06 19:10 Martin Friebe New Issue
2010-10-06 19:10 Martin Friebe File Added: docked_focus_bug.rar
2010-10-06 19:10 Martin Friebe LazTarget => -
2010-10-06 19:10 Martin Friebe Widgetset => QT
2010-10-06 21:11 Zeljan Rikalo Note Added: 0041552
2010-10-06 21:11 Zeljan Rikalo Status new => feedback
2010-10-06 21:52 Martin Friebe Note Added: 0041555
2010-10-07 08:09 Graeme Geldenhuys Note Added: 0041567
2010-10-07 09:31 Mattias Gaertner Note Added: 0041573
2010-11-26 10:16 Vincent Snijders Status feedback => acknowledged
2014-09-21 23:57 Juha Manninen Relationship added related to 0026759
2014-09-22 07:23 Zeljan Rikalo Assigned To => Zeljan Rikalo
2014-09-22 07:23 Zeljan Rikalo Status acknowledged => assigned