As already mentioned in "
Juggling Multiple Lazarus Projects" thread, for me the Example Projects window shows an empty list.
Mysteriously the list is filled when Lazarus is started with a clean configuration. Then after opening any project the list is empty again. This is especially weird as a project's settings should not affect example project management anyhow. It only uses info from the global settings.
My system:
Manjaro Linux (any Linux should do, this bug is only about paths)
Lazarus is built from sources in Git development "main" branch, pulled into directory
~/SW/lazarus (
/home/juha/SW/lazarus).
Lazarus is started as "
./lazarus &" directly from the source directory.
Example Projects has an option "
Directory where Examples go". Its value is :
/home/juha/.lazarus/examples_work_dir/which is correct although it is irrelevant for this bug.
To reproduce :
1. Start Lazarus with a clean configuration, either by --pcp= parameter or by deleting the default config directory (~/.lazarus).
2. Open the Tools -> Example Projects window. The list is filled.
3. Close the Example Projects window. Open ide/lazarus.lpi (or any other project).
4. Open the Example Projects window again. The list is empty.
An alternative step 3.: Open one of the example projects from the window. It opens OK. Then continue with step 4.
Can anybody else reproduce?
There was an issue with the example project path also earlier.
I changed the EnvironmentOptions in commit
9f142eef but had to revert it in commit
9f142eef. See issue :
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39671However opening a project does not affect EnvironmentOptions. This bug is different.
Another issue:
The search or filter edit control sucks. It shows the "
Search Here" text also when it gets focus. A user must delete the text first. A
TListViewFilterEdit control should be used instead. It is designed for exactly this purpose.
To see it in action, open in Lazarus IDE:
Package -> Open Loaded Package ...It also supports browsing the list with arrow keys while the filter edit has focus.