Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5k
3rdParty: Suppress "error" message when navlib isn't present on macOS.#25711
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
maxwxyz commentedNov 27, 2025
@chennes do you have a 3D mouse on a mac? |
luzpaz commentedNov 27, 2025
@JohnOCFII do you or know of anyone that could test this ? |
luzpaz commentedNov 27, 2025
@pjcreath this solution seems a bit to overarching. Is there a way to fine tune it so it is shown only in relevant situations ? |
JohnOCFII commentedNov 27, 2025
I don't. I agree that the solution seems blunt. Seems a conditional check for the existence of the mouse driver would only be done IF the user indicated they had a 3D mouse that required a driver. I think that'd require a Preference setting somewhere. |
maxwxyz commentedNov 28, 2025
Moving to 1.2 for now |
pjcreath commentedNov 28, 2025
Not this particular message. Note that all this PR does it make the behavior equivalent to Windows: no message at startup.
I agree that would be preferable, but this particular message is at static initialization time, before @maxwxyz, to be clear, this "error" message shows up whenever you don't have the drivers installed (regardless of hardware) which is probably 99% of users. That means anyone with a Mac could test this: without the drivers first (before and after patch), and then with the drivers (before and/or after patch). It doesn't actually require hardware. That (and parity with the Windows behavior) is why I think it makes sense to disable this message in such a blunt way. As to useful log messages about presence or absence of 3D mouse support, I think that's a separate issue that would be better logged in a cross-platform manner as@JohnOCFII suggests. And that would require hardware to test. |
This simply comments out the "error" message that appeared every single time I launched FreeCAD from the command line.
Since 99% of users probably don't have a 3D mouse, this is not worth reporting.