Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bring back additional folder on the Start page #13752

Open
2 tasks done
furgo16 opened this issue May 1, 2024 · 3 comments
Open
2 tasks done

Bring back additional folder on the Start page #13752

furgo16 opened this issue May 1, 2024 · 3 comments
Labels
Feature FR for improvements or new features Missing: forum discussion MIssing a forum post discussion with the FC community WB Start Related to the Start Workbench

Comments

@furgo16
Copy link
Contributor

furgo16 commented May 1, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

After reworking the Start page in recent builds, the ability to specify a custom folder and show its contents on the Start page has not been reinstated. This issue advocates for bringing back the ability to define a custom additiona folder location and to display its contents on Start.

Custom
Original option to define the additional folder on FreeCAD 0.21's Start page

Using Linux packages, this is useful for a few reasons:

  1. The Examples folder location is hardcoded as far as I can tell. Probably the same on all platforms?
  2. Being able to set the Examples location, either by making its path editable in Preferences, or by extending it (making a Custom location editable) provides more flexibility. In some cases, it's not only about flexibility, but being able to control the contents displayed on the Examples section of the Start page at all. See points below.
  3. The .deb package installs examples on /usr/share/freecad-daily/examples/, which is only editable by root. Therefore non-root users cannot modify the Examples folder.
  4. The snap package installs examples on /snap/freecad/current/usr/share/examples/, which is read-only. Not even root users can modify the Examples folder there.

Arguably, points 3 and 4 could be addressed by modifying the packaging to ship examples onto a user-writeable location.

Full version info

OS: Ubuntu Core 22 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.36999 (Git) Snap 1002
Build type: Release
Branch: main
Hash: ed77603af999525b65dcfc4a41337f15a052c9ef
Python 3.10.12, Qt 5.15.10, Coin 4.0.0, Vtk 7.1.1, OCC 7.7.1
Installed mods: 
  * OpenTheme 2024.4.20
  * BIM 2021.12.0
  * Curves 0.6.35
  * ezydxf
  * ExplodedAssembly
  * BillOfMaterials 0.0.8.2
  * Ondsel-Lens 2024.4.16.01
  * Assembly4 0.50.12

Subproject(s) affected?

Other (specify in description)

Anything else?

Code of Conduct

  • I agree to follow this project's Code of Conduct
@maxwxyz maxwxyz added Feature FR for improvements or new features Missing: forum discussion MIssing a forum post discussion with the FC community WB Start Related to the Start Workbench labels May 1, 2024
@maxwxyz
Copy link
Collaborator

maxwxyz commented May 1, 2024

Is the issue really about another folder location or just use a proper location for examples on every OS? I guess this needs more discussion.

@furgo16
Copy link
Contributor Author

furgo16 commented May 1, 2024

Good point. The issue's intention is to advocate for the ability to define an additional folder. Perhaps the limitations of not having one on Linux could be addressed on a separate issue, but mainly this one is for having an independent additional folder.

@onekk
Copy link

onekk commented May 1, 2024

Why a location for other every OS.

A simple QtFile Widget that permit to choose one or more directory will do the job cross OS, at least from what I know using Qt to make "programs" for FreeCAD that run on both Windows and Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature FR for improvements or new features Missing: forum discussion MIssing a forum post discussion with the FC community WB Start Related to the Start Workbench
Projects
None yet
Development

No branches or pull requests

3 participants