| Anonymous | Login | Signup for a new account | 2013-06-18 09:29 CEST | ![]() |
| All Projects | FPC | Lazarus: Packages, Patches | Lazarus CCR | Mantis | fpGUI | fpcprojects: fpprofiler |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0021820 | Lazarus | LCL | public | 2012-04-20 22:49 | 2012-04-21 11:42 | ||||||||
| Reporter | jshand2010 | ||||||||||||
| Assigned To | Zeljan Rikalo | ||||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||||
| Status | resolved | Resolution | not fixable | ||||||||||
| Platform | OS | OS Version | |||||||||||
| Product Version | 1.1 (SVN) | Product Build | latest build | ||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Summary | 0021820: TComboBox Issue: Messes up text when text line goes beyond the end of the control | ||||||||||||
| Description | Hey guys i have a long line of text that i add to a list on a combo box occassionally and it messes up the whole line or some it, the rest usually looks like encrypted text, i have included my source code to have a look at. the combo boxes are in ploginmanager and pprofilemanager. hopefully this will give you an idea of the problem. when testing make sure you type over 50 or so characters. this is when the issue happens | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Fixed in Revision | |||||||||||||
| LazTarget | - | ||||||||||||
| Widgetset | GTK 2 | ||||||||||||
| Attached Files | |||||||||||||
Notes |
|
|
(0058818) Vojtech Cihak (reporter) 2012-04-20 23:14 |
I see no problems on Qt. Very long lines are finished with "..." On GTK2, combo has horizontal scrollbar. I uploaded screenshot. Also, you can make your Login Manager window sizable. |
|
(0058820) jshand2010 (reporter) 2012-04-20 23:31 |
thanks for replying. i cannot find a property that states if the combo box has scroll bars (especially horizontal) i have made a work around for now if (length(edfullname.Text)=(edfullname.MaxLength)) then begin ShowMessage('Line Length Reached'); end else begin tp[1].staffname:=edfullname.Text; end; thanks |
|
(0058821) Vojtech Cihak (reporter) 2012-04-20 23:55 |
@ i cannot find a property that states if the combo box has scroll bars (especially horizontal) AFAIK there's no property for this. This is provided by underlaying widgetset and maybe it also depends on selected theme. |
|
(0058826) Zeljan Rikalo (developer) 2012-04-21 08:53 |
@jshand2010 PLEASE ATTACH EXAMPLES WHICH CONTAINS PROBLEM. Your examples are same all the time. Current example works fine here and does not show any problem. |
|
(0058827) Zeljan Rikalo (developer) 2012-04-21 08:57 |
It works fine here. Seem that's theme dependent. Gtk2 is very ugly with combos eg. my theme shows combo list as popup menu, so text is not cutted but very long texts could easily reach width of the screen. |
|
(0058832) Zeljan Rikalo (developer) 2012-04-21 11:42 |
Resolved as "not fixable". It's long standing gtk2 bug (or you can call it missing feature). Attached patch helps with cleanlooks theme, but not with themes like QtCurve which enables list instead of menu for combo popup). Please close, since this is not fixable by us. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-04-20 22:49 | jshand2010 | New Issue | |
| 2012-04-20 22:49 | jshand2010 | Widgetset | => GTK 2 |
| 2012-04-20 22:51 | jshand2010 | File Added: bm2014.zip | |
| 2012-04-20 23:13 | Vojtech Cihak | File Added: combo_gtk2.png | |
| 2012-04-20 23:14 | Vojtech Cihak | Note Added: 0058818 | |
| 2012-04-20 23:31 | jshand2010 | Note Added: 0058820 | |
| 2012-04-20 23:55 | Vojtech Cihak | Note Added: 0058821 | |
| 2012-04-21 08:53 | Zeljan Rikalo | LazTarget | => - |
| 2012-04-21 08:53 | Zeljan Rikalo | Note Added: 0058826 | |
| 2012-04-21 08:53 | Zeljan Rikalo | Status | new => feedback |
| 2012-04-21 08:57 | Zeljan Rikalo | Note Added: 0058827 | |
| 2012-04-21 10:37 | Zeljan Rikalo | Status | feedback => assigned |
| 2012-04-21 10:37 | Zeljan Rikalo | Assigned To | => Zeljan Rikalo |
| 2012-04-21 11:41 | Zeljan Rikalo | File Added: gtk2comboboxrenderer.diff | |
| 2012-04-21 11:42 | Zeljan Rikalo | Status | assigned => resolved |
| 2012-04-21 11:42 | Zeljan Rikalo | Resolution | open => not fixable |
| 2012-04-21 11:42 | Zeljan Rikalo | Note Added: 0058832 | |
| Main | My View | View Issues | Change Log | Roadmap |



