View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024715 | Lazarus | Widgetset | public | 2013-07-07 20:32 | 2013-10-13 20:53 |
Reporter | Andrey Zubarev | Assigned To | Zeljan Rikalo | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.1 (SVN) | ||||
Target Version | 1.2.0 | ||||
Summary | 0024715: Scrollbar on the TForm not working | ||||
Description | From here http://forum.lazarus.freepascal.org/index.php/topic,21436.0.html procedure TForm1._oncreate(Sender: TObject); begin self.VertScrollBar.Range:=1000; end; Works in GTK2 and WIN, but does not work in qt | ||||
Tags | No tags attached. | ||||
Fixed in Revision | 43218,43234,43236,43238 | ||||
LazTarget | 1.2 | ||||
Widgetset | QT | ||||
Attached Files |
|
|
Changed LazTarget to 1.2 since commit is prepared (via define QTSCROLLABLEFORMS). |
|
Please test and DO NOT CLOSE YET, just give feedback. Scrollbars on forms means huge change in qt widgetset, and must be activated via enabling define QTSCROLLABLEFORMS in lcl/interfaces/qt/qtdefines.inc This will be merged to 1.99 (1.2) branch too. When everything looks good I'll remove QTSCROLLABLEFORMS define, so they'll rely on QAbstractScrollArea per default. Known issues: Auto complete window in ide source editor triggers QPainter assertions in console (but window is painted ok). |
|
It break docking if AnchorDockingDSGN package installed |
|
@Andrey, what exactly is broken with AnchorDocking ? |
|
Incorrectly determined the size of the forms at the time their appearance the scrollbar. I attach screenshots of before and after. A messages window appears when you start for a split second, then disappears |
|
|
|
|
|
Yes, that's thing which need to be fixed, but doesn't have anything with this issue. I'm using lazarus and test application without anchordocking and everything looks good (except that QPainter assertion I've mentioned before). Anchordocking is something else, and probably there's something wrong when reparenting form (docking/undocking) so TQtMainWindow returns wrong clientRect. |
|
Also, when reparenting form from form (eg when you remove form from dock by mouse) then AV from qtlib occurs (already found where and why). |
|
I've fixed crash in r43234, now forms can be undocked without crashing. |
|
Fixed crash inside qt lib when we undock form with mouse. |
|
I've fixed sizing problems in r43236. Please test. |
|
Fixed sizing problem. |
|
Fixed QPainter assertion. Now you can close if everything is ok. All revisions are marked to be merged to 1.0.99 (1.2) |
|
Thank you, now everything is working fine. Do you plan to do QTSCROLLABLEFORMS by default? |
|
Yes, it will be enabled by default in next few weeks (I must test it in real production first). You can close this issue and if you find anything related to this issue open new one.Note that QTSCROLLABLEFORMS define will not be removed it will just be enabled by default.In that case if someone does not use scrollable forms at all, there's no need to have QAbstractScrollArea widget which is more complex than ordinary QWidget as form's central widget. |
|
Ok. Thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-07-07 20:32 | Andrey Zubarev | New Issue | |
2013-07-08 07:56 | Zeljan Rikalo | LazTarget | => post 1.2 |
2013-07-08 07:56 | Zeljan Rikalo | Target Version | => 1.2.0 |
2013-07-08 07:56 | Zeljan Rikalo | Assigned To | => Zeljan Rikalo |
2013-07-08 07:56 | Zeljan Rikalo | Status | new => assigned |
2013-09-03 12:07 | Martin Friebe | LazTarget | post 1.2 => 1.4 |
2013-10-12 16:18 | Zeljan Rikalo | LazTarget | 1.4 => 1.2 |
2013-10-12 16:18 | Zeljan Rikalo | Note Added: 0070764 | |
2013-10-12 16:30 | Zeljan Rikalo | Fixed in Revision | => 43218 |
2013-10-12 16:30 | Zeljan Rikalo | Note Added: 0070766 | |
2013-10-12 16:30 | Zeljan Rikalo | Status | assigned => resolved |
2013-10-12 16:30 | Zeljan Rikalo | Resolution | open => fixed |
2013-10-12 16:47 | Andrey Zubarev | Note Added: 0070768 | |
2013-10-12 17:39 | Zeljan Rikalo | Note Added: 0070769 | |
2013-10-12 18:28 | Andrey Zubarev | Note Added: 0070770 | |
2013-10-12 18:28 | Andrey Zubarev | File Added: before.png | |
2013-10-12 18:29 | Andrey Zubarev | File Added: after.png | |
2013-10-12 19:14 | Zeljan Rikalo | Note Added: 0070771 | |
2013-10-12 22:16 | Zeljan Rikalo | Note Added: 0070773 | |
2013-10-13 11:43 | Zeljan Rikalo | Note Added: 0070784 | |
2013-10-13 11:43 | Zeljan Rikalo | Status | resolved => feedback |
2013-10-13 11:43 | Zeljan Rikalo | Fixed in Revision | 43218 => 43218,43234 |
2013-10-13 11:43 | Zeljan Rikalo | Note Added: 0070785 | |
2013-10-13 11:43 | Zeljan Rikalo | Status | feedback => resolved |
2013-10-13 14:22 | Zeljan Rikalo | Note Added: 0070788 | |
2013-10-13 14:22 | Zeljan Rikalo | Status | resolved => feedback |
2013-10-13 14:22 | Zeljan Rikalo | Fixed in Revision | 43218,43234 => 43218,43234,43236 |
2013-10-13 14:22 | Zeljan Rikalo | Note Added: 0070789 | |
2013-10-13 14:22 | Zeljan Rikalo | Status | feedback => resolved |
2013-10-13 14:49 | Zeljan Rikalo | Status | resolved => feedback |
2013-10-13 14:49 | Zeljan Rikalo | Fixed in Revision | 43218,43234,43236 => 43218,43234,43236,43238 |
2013-10-13 14:49 | Zeljan Rikalo | Note Added: 0070790 | |
2013-10-13 14:49 | Zeljan Rikalo | Status | feedback => resolved |
2013-10-13 19:06 | Andrey Zubarev | Note Added: 0070798 | |
2013-10-13 20:33 | Zeljan Rikalo | Note Added: 0070800 | |
2013-10-13 20:53 | Andrey Zubarev | Note Added: 0070801 | |
2013-10-13 20:53 | Andrey Zubarev | Status | resolved => closed |