Lazarus known issues (things that will never be fixed)

From Free Pascal wiki
Jump to navigationJump to search

Other Interfaces

Platform specific Tips

Interface Development Articles

Win32/Win64 issues

TComboBox.Height

It's impossible to set an arbitrary height to a TComboBox under Windows. Use AutoSize to make sure the size is good on all platforms.

TButton's and TBitBtn's color cannot be changed

It's impossible to implement without making them owner drawn.

TProgressBar.Height

The Height of a TProgressBar cannot be smaller then 10 if a Windows Theme is used.

Associated bug report: http://bugs.freepascal.org/view.php?id=10626

MSDN Docs: http://msdn2.microsoft.com/en-us/library/bb760816(VS.85).aspx

TTrayIcon.Hint

TTrayIcon.Hint may have a maximum length of 127 WideChars (will usually be more then 127 Bytes in a UTF-8 string, but may be less too, depending on the string). It's a Windows limitation, which can't be worked around.

GTK 1 issues

Inconsistent internationalization support

GTK 1 always uses the default locale encoding to input and draw text and therefore adequate unicode support cannot be implemented for it.

TTabSheet.TabVisible property

TabSheet under gtk1 can either be fully hidden (with Tab) or fully visible (with Tab). There is no possibility to show TabSheet without it tab. Look at gtk1 sources (gtknotebook.c) for details.

TComboBox.DropDownCount property

What I consider a limitation in GTK1 & GTK2, but apparently it was a GTK design decision. For more details, see the following Mantis bug report: http://bugs.freepascal.org/view.php?id=1933

GTK 2 issues

TForm.ShowInTaskbar is ignored

TForm.ShowInTaskbar is ignored and forms are always shown on the taskbar. Under KDE (and possibly other window managers) if a window isn't on the taskbar it won't also be able to minimize. This is a big problem for the IDE, which has many windows open at the same time, most of which set not to show in the taskbar and which also desires to be able to minimize the windows.

Carbon issues

Go to Carbon interface internals#Compatibility issues.

No 64-bits support

Carbon cannot be used to write 64-bits applications. Apple decided not to release a 64-bits version of Carbon. The migration path is writing a new interface in Cocoa.

QT issues

Needs a Qt license for proprietary software

Cannot be used with proprietary applications unless a Qt license is bought.

TOpenDialog/TSaveDialog filter limitations

The display filter for TOpenDialog/TSaveDialog will always include the filtered extensions in parenteses. Qt always adds parenteses with the filtered extensions, so if this is already present, the interface will try to remove them. For more information see TQtWSFileDialog.GetQtFilterString on the Qt interface.

Win CE issues