Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
Demos
ActiveX
ADO
Apps
Components
Corba
Data
Database
Doc Demos
Internet
MFC
Midas
Other
StdLib
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Demos/Other
[ Add a report in this area ]
Report #:
28624
Status:
Closed
docking demo is broken, was ok in delphi7
Project:
Delphi
Build #:
10.0.2288.42451
Version:
10.0
Submitted By:
grant allan
Report Type:
Minor failure / Design problem
Date Reported:
4/30/2006 10:09:38 PM
Severity:
Infrequently encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All platforms
Internal Tracking #:
258234
Resolution:
Fixed
(Resolution Comments)
Resolved in Build:
:
15.0.3873.33607
Duplicate of:
None
Voting and Rating
Overall Rating:
(2 Total Ratings)
3.00 out of 5
Total Votes:
3
Description
the docking demo behaves strangely sometimes, is broken other times, compared to delphi7 version of the docking demo.
tab-sheet host:
using the delphi7 demo, create a floating host with some tabs. drag a new client over the tabsheets, and you get only one dock-rect allowed - drop the new client and it's added as a new page. good.
now try with the d2006 demo. when you drag the new client over, you get additional possibilities for dock-rects: top, bottom, left, right, centre. all of those do weird stuff. the new client is not added in a logical way to the others. instead, the new client and one of the old ones gets combined, and kicked out as a floating pair.
conjoin host:
using delphi7 demo, create the following arrangement of tiles in a floating host: wide rectangle on top, tall rectangles underneath on the left and on the right:
AA
BC
BC
now dock a new client into the bottom half of rectangle C, to make this arrangement:
AA
BC
BD
works fine.
now try with the D2006 demo. when dropping D onto C, the host ejects C, and we're left with two floating hosts, one containing A and B, the other containing C and D.
i am very nervous about tapping into the docking provisions of the VCL on account of these differences.
if i add docking to my app, will i need to rewrite it with each new update of the VCL?
Steps to Reproduce:
1. open ($BDS)\Demos\DelphiWin32\VCLWin32\Docking\dockex.dpr
2. click the "White" toolbutton.
3. move the "White" window to a convenient location
4. click the "Blue" toolbutton.
5. dock the"Blue" window into the Right-hand Half of the white window.
6. click the "Green" toolbutton
7. dock the "Green" window into the Right-hand Half of the docked blue window.
8. click the "Lime" toolbutton
9. dock the "Lime" window into the Right-hand Half of the docked blue window.
Exp: All four windows will be docked together
Act: The green and lime windows jump out of the other docked group
(See image attachments 1_xxxx 2_xxxx 3_xxxx)
Note that if the lime window is into either the white or the blue window results are as expected.
Close app and retry with tabbed docking:
1. click the "White" toolbutton.
2. move the "White" window to a convenient location
3. click the "Blue" toolbutton.
4. dock the"Blue" window into the center of the white window to tab-dock.
5. click the "Green" toolbutton
6. dock the "Green" window into the center of the tab-docked blue window to add as a tab.
Exp: The green window will be added as a third tab to the group
Act: The blue and green windows jump out of the white window and form their own tabbed duo.
(See image attachments A_xxxx - D_xxxx)
Tested in RAD Studio 2007 with identical results (using the demo from BDS2006, since I don't see it in the RAD Studio distribution)
Workarounds
None
Attachment
DockingDemoD7vsD2006.zip
Comments
Leo Siefert at 7/12/2006 4:40:37 AM
-
I really think you need to add steps to this, not just a description. Keep each step simple, describing one action (saying exactly how you did it), like:
File | Open | Project | ...Demos\DelphiWin32\VCLWin32\Docking\dockex.bdsproj
F9 or Run | Run
Click on "Red" toolbar button
etc. Then try following the steps exactly as entered to make sure they do reproduce the problem for you.
After this, someone should have no trouble reproducing the problem unless it depends on some differences in the configuration of the IDE that they use.
grant allan at 7/14/2006 12:22:21 AM
-
hi Leo,
strange but true. i tried entering in more Steps information, but seemed to reach some kind of limit. wasn't allowed to type any more characters.
i thought adding steps sounded easy, but during the process i've ended up filing 3 reports for QC itself, AND i still haven't been able to finish listing my steps information.
Leo Siefert at 7/14/2006 6:59:01 AM
-
Maybe you could continue them at the end of the description.
Markus Humm at 3/12/2008 12:33:17 PM
-
Aren't the current steps enough?
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us