View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0026714||Lazarus||LCL||public||2014-09-13 02:44||2014-09-13 20:34|
|Reporter||Anthony Tekatch||Assigned To||Zeljan Rikalo|
|Fixed in Version||1.3 (SVN)|
|Summary||0026714: Radiogroup does not updated clicked button when in non-visible TPageControl tab|
|Description||Radio group event OnSelectionChanged (and also OnClick) is not triggered when a new click to a button is made when that radio group is located on a tab that was made invisible during a programmatical ItemIndex change.|
|Steps To Reproduce||I have attached an example application:|
- run it and select Sheet 2
- Click on item "one", and watch that the Changed counter increases like it should
- Select "Sheet 1"
- press "Hide sheet 2"
- press "set to 0", notice that the Changed counter increases again like it should
- Press "Show sheet 2"
- Select "Sheet 2"
- radio will be on "zero" because of previous change
- Click on item "one", notice that Changed does not increase.
It is as if the radiogroup remembered what was manually clicked, but during invisibility, the ItemIndex can still be functionally changed correctly. A click to that different an previously remembered item is not registered as a new "OnSelectionChanged" event.
|Tags||No tags attached.|
|Fixed in Revision||46208|
|Widgetset||GTK 2, Win32/Win64, WinCE, Carbon, Cocoa, QT|
publishedproject.zip (3,100 bytes)
||It does not work under qt too. It's possible that this is LCL bug.|
||Changed widgetset from GTK2 to all since it affects (tested mentioned) Gtk2, Qt and Win32, so LCL is suspected.|
||Please test and close if ok.|
That works fine. Thank you!
|2014-09-13 02:44||Anthony Tekatch||New Issue|
|2014-09-13 02:44||Anthony Tekatch||File Added: publishedproject.zip|
|2014-09-13 16:15||Zeljan Rikalo||LazTarget||=> -|
|2014-09-13 16:15||Zeljan Rikalo||Note Added: 0077190|
|2014-09-13 16:15||Zeljan Rikalo||Assigned To||=> Zeljan Rikalo|
|2014-09-13 16:15||Zeljan Rikalo||Status||new => feedback|
|2014-09-13 16:18||Zeljan Rikalo||Widgetset||GTK 2 => GTK 2, Win32/Win64, WinCE, Carbon, Cocoa, QT|
|2014-09-13 16:18||Zeljan Rikalo||Note Added: 0077192|
|2014-09-13 16:37||Zeljan Rikalo||Fixed in Revision||=> 46208|
|2014-09-13 16:37||Zeljan Rikalo||LazTarget||- => 1.2.6|
|2014-09-13 16:37||Zeljan Rikalo||Note Added: 0077193|
|2014-09-13 16:37||Zeljan Rikalo||Status||feedback => resolved|
|2014-09-13 16:37||Zeljan Rikalo||Fixed in Version||=> 1.3 (SVN)|
|2014-09-13 16:37||Zeljan Rikalo||Resolution||open => fixed|
|2014-09-13 20:34||Anthony Tekatch||Note Added: 0077200|
|2014-09-13 20:34||Anthony Tekatch||Status||resolved => closed|