View Issue Details

IDProjectCategoryView StatusLast Update
0007114LazarusIDEpublic2017-06-06 21:26
Reporternicola sperotto Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version0.9.16 
Summary0007114: Non-scrolling form/controls at design-time
DescriptionScrollbars on forms/controls are not working at design time.
It makes difficult to handle large graphical objects (e.g.
an image or a PowerPDF page on a form/scrollbox).

Additional InformationI've tried with Lazarus from ...9.12 to ...9.16 / WinXP Professional.
I don't know if it's the same on Linux, for, since I have changed
FPC version, I can't use Lazarus IDE anymore.
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetWin32/Win64
Attached Files

Relationships

related to 0030617 assignedMichl TScrollBox - TControl.InvalidatePreferredSize loop detected 
has duplicate 0024835 resolvedZeljan Rikalo TScrollbox - scrollbars in design time 
has duplicate 0031455 resolvedJuha Manninen ScrollBars in form doesn't work in design-time. 
has duplicate 0032535 closedOndrej Pokorny Scrolling forms on design time 

Activities

Zeljan Rikalo

2012-02-04 12:38

developer   ~0056360

Not blocker, postponed.

Michl

2017-06-05 23:43

developer   ~0100891

If this issue here is fixed, the test project from 0030617 needs a new fix. Maybe something like a list, that counts how often controls are changed its bounds after changing a property like Align, Anchors, AutoSize, Childsizing, Height, Width etc. If a control in this list changed its bounds for maybe 100 or 1000 times, there is obviously a looping created. Then the property has to be restored to old value, but also all the controls in that list (in project from 0030617 before trunk revision 55249, the changing of the height, changes the height of a other control to a invalid value, so only restoring of the current edited property is insufficient).

Zeljan Rikalo

2017-06-06 10:47

developer   ~0100898

@Michl, how it is related to this issue ?

Michl

2017-06-06 11:12

developer   ~0100899

Last edited: 2017-06-06 11:24

View 4 revisions

If someone fix this issue, he has to enable the scrollbars. If the scrollbars are enabled some problems would occur, one is shown in testproject from 0030617 (it should be tested after the fix here). My thoughts, of a possible fix, I have written in https://bugs.freepascal.org/view.php?id=7114#c100891.

Ondrej Pokorny

2017-06-06 19:43

developer   ~0100925

Last edited: 2017-06-06 19:46

View 2 revisions

Just to make sure if anybody missed it: you can scroll containers (form/scrollbox) in design-time by setting the VertScrollBar/HorzScrollBar.Position property. So the functionality is already there. Only scrolling by mouse in the designer is disabled.

Michl

2017-06-06 21:09

developer   ~0100926

Last edited: 2017-06-06 21:26

View 2 revisions

Uh damn, yes, I missed this! Now it isn't possible anymore. I'll revert revision 55249.

Done in revision 55263.

Issue History

Date Modified Username Field Change
2006-07-04 15:45 nicola sperotto New Issue
2006-07-04 15:45 nicola sperotto Widgetset => Win32
2006-07-04 19:20 Vincent Snijders Target => 1.0
2006-07-04 19:20 Vincent Snijders Status new => acknowledged
2008-04-24 09:57 Vincent Snijders Target Version => 1.0.0
2012-02-04 12:38 Zeljan Rikalo LazTarget 1.0 => 1.2
2012-02-04 12:38 Zeljan Rikalo Note Added: 0056360
2012-03-13 07:50 Vincent Snijders Target Version 1.0.0 => 1.2.0
2014-01-14 15:10 Martin Friebe LazTarget 1.2 => 1.4
2014-01-14 15:12 Martin Friebe Target Version 1.2.0 => 1.4
2014-09-10 01:20 Juha Manninen LazTarget 1.4 => -
2014-09-10 01:20 Juha Manninen Target Version 1.4 =>
2014-09-28 08:35 Zeljan Rikalo Relationship added has duplicate 0024835
2017-02-28 20:07 Juha Manninen Relationship added has duplicate 0031455
2017-06-05 23:20 Michl Relationship added related to 0030617
2017-06-05 23:43 Michl Note Added: 0100891
2017-06-06 10:47 Zeljan Rikalo Note Added: 0100898
2017-06-06 11:12 Michl Note Added: 0100899
2017-06-06 11:23 Michl Note Edited: 0100899 View Revisions
2017-06-06 11:24 Michl Note Edited: 0100899 View Revisions
2017-06-06 11:24 Michl Note Edited: 0100899 View Revisions
2017-06-06 19:43 Ondrej Pokorny Note Added: 0100925
2017-06-06 19:46 Ondrej Pokorny Note Edited: 0100925 View Revisions
2017-06-06 21:09 Michl Note Added: 0100926
2017-06-06 21:26 Michl Note Edited: 0100926 View Revisions
2017-10-12 09:09 Ondrej Pokorny Relationship added has duplicate 0032535