FreeCAD / FreeCAD

This is the official source code of FreeCAD, a free and opensource multiplatform 3D parametric modeler.
https://www.freecad.org
Other
19k stars 3.96k forks source link

Regression: Undocked panels don't yield when other apps are selected in latest build #15991

Open macdroid53 opened 3 weeks ago

macdroid53 commented 3 weeks ago

Is there an existing issue for this?

Problem description

In today's build, when first launched with un-docked panels (Property and Task) on another monitor, the panels yield focus as expected. After some operations (like running a Python addon) or errors are reported, the panels no longer yield when another application is given focus on the monitor that has the panels. This regression seems to happen every few months, checking how it was repaired previously may help determine the cause.

Full version info

OS: Debian GNU/Linux 12 (bookworm) (XFCE/xfce)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.38498 (Git)
Build type: Release
Branch: main
Hash: 7e311ed4b96299c8b9909d86cda2410a53cbd498
Python 3.11.2, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * MnesarcoUtils 0.2.5
  * lattice2 1.0.0
  * Curves 0.6.44
  * ArchTextures
  * Nodes 0.1.36
  * OpenTheme 2024.8.17
  * Help 1.0.3
  * QuickMeasure 2022.10.28
  * Manipulator 1.5.7
  * freecad.gears 1.2.0
  * sheetmetal 0.4.24
  * Silk 0.1.5
  * kicadStepUpMod 11.2.7
  * DynamicData 2.62.0
  * workfeature-macro
  * fasteners 0.5.27
  * Defeaturing 1.2.2
  * CurvedShapes 1.0.9

Subproject(s) affected?

None

Anything else?

No response

Code of Conduct

luzpaz commented 3 weeks ago

'Yield' as in they always stay on top ?

macdroid53 commented 3 weeks ago

Yes.

maxwxyz commented 2 weeks ago

@luzpaz is this really a blocker for the release candidate? Can anyone confirm this issue? I cannot reproduce on Windows

luzpaz commented 2 weeks ago

After some operations (like running a Python addon) or errors are reported, the panels no longer yield when another application is given focus on the monitor that has the panels.

@maxwxyz this seems like a very disruptive UX issue in FC and for the persons' computer. I can't test ATM. If we can't reproduce then remove blocker status ? Or remove now and add when it's reproducible ? I defer to you.

macdroid53 commented 2 weeks ago

I'm not sure this email will work. I'm on my phone. I don't think this was ever reproducible in windows. I ca reproduce in Debian and Manjaro every time it regresses. If you can assume most users don't care about unlocked/multi-monitor behavior, then it is obviously not a blocking issue.

On Sat, Aug 24, 2024, 12:31 PM luzpaz @.***> wrote:

After some operations (like running a Python addon) or errors are reported, the panels no longer yield when another application is given focus on the monitor that has the panels.

@maxwxyz https://github.com/maxwxyz this seems like a very disruptive UX issue in FC and for the persons' computer. I can't test ATM. If we can't reproduce then remove blocker status ? Or remove now and add when it's reproducible ? I defer to you.

— Reply to this email directly, view it on GitHub https://github.com/FreeCAD/FreeCAD/issues/15991#issuecomment-2308448676, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUD5CHZWVNOXF3FI7LIBIDZTCYPHAVCNFSM6AAAAABM3377Z2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGQ2DQNRXGY . You are receiving this because you authored the thread.Message ID: @.***>

bgbsww commented 2 weeks ago

Huh. Can't reproduce on a 3840x2160 primary display and a 3840x2400 secondary monitor connected via USB3/Firewire.

Tried BIM, Curves, OpenSCAD workbenches, lots of model modifications. I'm in the "not a blocker until there's a reproduction path" camp, was hoping to reproduce, but no luck so far.

OS: Ubuntu 24.04 LTS (ubuntu:GNOME/ubuntu) Word size of FreeCAD: 64-bit Version: 0.22.0dev.38501 (Git) Build type: Debug Branch: bgbsww-toponamingRevolution Hash: 4ea2a0162d2acf74679864d2ce865e7fdd672f1b Python 3.12.3, Qt 5.15.13, Coin 4.0.2, Vtk 9.1.0, OCC 7.8.1 Locale: English/United States (en_US) Installed mods: