Have migrated to LibrePCB rev 2.0. main app shows all existing local libs which all have long names (> 20 chars) but when I try to create a new local library it chops off the folder name chars after a count of 20 to create the folder name. It then complains that the folder name must end in .lplib.
Any clues ?
Thanks for reporting @tomwbarclay ,
This issue is tracked in this issue and I’ll fix it in the next release:
opened 01:38AM - 31 Jan 26 UTC
##### VERSION / OS / ENVIRONMENT
```
LibrePCB Version: 2.0.0
Git Revision: … b86f606c8 (2026-01-28)
Qt Version: 6.4.2 (built against 6.4.2)
CPU Architecture: x86_64
Operating System: Ubuntu Core 24
Platform Plugin: xcb
TLS Library: OpenSSL 3.0.13 30 Jan 2024
OCC Library: OCCT 7.9.1
Runtime: Snap
```
##### SUMMARY
Creating a new local library fails if the directory name is too long. The directory is created, but the name is truncated to 21 characters.
It then errors with `A library directory name must have the suffix '.lplib'`.
Trying again with the same name gives an error about the directory already existing.
##### STEPS TO REPRODUCE
Using the 2.0 snap, attempt to create a new library, with a long name.
##### EXPECTED RESULTS
Library is created.
##### ACTUAL RESULTS
Library is not created.
##### ADDITIONAL INFORMATION
It might be good if you delete the wrong directories (without *.lplib suffix) manually (inside the workspaces directory data/libraries/local).