Possible bug: it switches the current file when input something

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
Mark81
Posts: 121
Joined: Tue Jul 12, 2022 2:21 pm

Possible bug: it switches the current file when input something

Post by Mark81 »

Not sure if this was already addressed. A search with the above keywords finds nothing useful.
  1. Open multiple files
  2. Select one (the view changes according)
  3. Select an item and enter something in the property fields
  4. Press enter
Now the current file is switched to another one! This happens every time I enter something (like above) or I exit from a task.
Is this a known behavior?

I recorder a small video (270 kB) but I can't attach it here.

Code: Select all

OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.29501 (Git) Snap 134
Build type: Release
Branch: master
Hash: 842fd4772bd2135168ebff0deccbfb1bd0639ae2
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.2
Locale: Italian/Italy (it_IT)
Installed mods: 
  * fasteners 0.3.45
  * 3D_Printing_Tools
  * CurvedShapes 1.0.3
  * Manipulator 1.4.5
  * Assembly4 0.12.0
  * fcgear 1.0.0
  * A2plus 0.4.56a
  * POV-Ray-Rendering
  * Render 2022.2.0
User avatar
mfro
Posts: 666
Joined: Sat Sep 23, 2017 8:15 am

Re: Possible bug: it switches the current file when input something

Post by mfro »

Mark81 wrote: Wed Jul 13, 2022 6:32 am Is this a known behavior?
No. Cannot reproduce.

Do these files - by chance - contain mutually linked objects?
Cheers,
Markus
Mark81
Posts: 121
Joined: Tue Jul 12, 2022 2:21 pm

Re: Possible bug: it switches the current file when input something

Post by Mark81 »

I have three files opened:

1. bottle_80mm -> it contains a part
2. revolver -> it contains a model with links to the above part
3. flower -> it's just a complete and separate file with no linked parts at all

I'm working on the file #3 and it continuously switches back to file #2.
Not sure how to show you the video.
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: Possible bug: it switches the current file when input something

Post by openBrain »

Mark81 wrote: Wed Jul 13, 2022 7:11 am Not sure how to show you the video.
You can attach in a .ZIP file, or convert to GIF to display directly in the thread.
Mark81
Posts: 121
Joined: Tue Jul 12, 2022 2:21 pm

Re: Possible bug: it switches the current file when input something

Post by Mark81 »

Here we are.
I attached a zip, because the conversion to gif led to a 100 MB file...
Attachments
freecad.zip
(257.32 KiB) Downloaded 8 times
Lonfor
Posts: 133
Joined: Wed Mar 23, 2022 2:32 am

Re: Possible bug: it switches the current file when input something

Post by Lonfor »

I think I could reproduce it.
1 - I created a new file (test 7299.FCStd) to bring over a sketch using "Make Link" command. See pic 1.
2 - From the Link dialog I selected the sketch. This causes the window of "corner casting - skeleton.FCStd" to come to the foreground with the sketch highlighted. See pic 2.
3 - After clicking OK on the Link dialog, the foreground window won't switch back to "test 7299.FCStd" and "corner casting - skeleton.FCStd" will remain the active part. See pic 3.
-----

Code: Select all

OS: Debian GNU/Linux 10 (buster) (KDE//usr/share/xsessions/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods: 
  * Silk 1.0.0
  * A2plus 0.4.56a
  * Assembly4 0.12.2
  * Help 1.0.3
  * Assembly3 0.11.3
  * offline-documentation 1.0.0-alpha
Attachments
Screenshot_20220713_030239.png
Screenshot_20220713_030239.png (203.87 KiB) Viewed 499 times
Screenshot_20220713_030343.png
Screenshot_20220713_030343.png (183.39 KiB) Viewed 499 times
Screenshot_20220713_030417.png
Screenshot_20220713_030417.png (178.01 KiB) Viewed 499 times
Post Reply