Hi Klaus,kbwbe wrote: ↑Sun Dec 16, 2018 2:48 pmHi Manuel,manuelkrause wrote:
i modified devel branch again.
- Constraint dialog does not stay on top of other active window now
- X-Button (close) of constraint dialog can be used now
Please test again.
Hi Herbert,herbk wrote:
i think your problem with greyed out FC window has to do something with your X-window manager, which behaves different from mine. As there were a lot of changings within A2plus regarding window management, please test again whether your problem persists. (devel branch)
Thank you Guy's for testing !
I have mixed results:
+X-Button (close) of constraint dialog can be used now ---> DOES WORK NOW (including removing of the constraint)
- Constraint dialog does not stay on top of other active window now ---> does NOT work on my system ('Constraint Tool' or 'Constraint properties' still stay on top always.
I don't know how the FC internal sub-menus/-windows are made (like Report view, Combo View, Python console) and whether you can use that approach. With that, within FC window - as well as once detached, they do minimize with the main FC and also always stay under other applications if the latter get to front focus.
BTW, "Report view" gets flooded with these error messages:
Code: Select all
AttributeError: 'PySide2.QtCore.QCoreApplication' object has no attribute 'focusWidget'
Traceback (most recent call last):
File "/home/manuel/.FreeCAD/Mod/A2plus/a2p_constraintDialog.py", line 633, in onTimer
self.windowMangager()
File "/home/manuel/.FreeCAD/Mod/A2plus/a2p_constraintDialog.py", line 624, in windowMangager
if not self.app.focusWidget(): #No FC window at all has the focus...
Maybe only a typo? See above: "windowMangager" VS. better "windowManager" ?
Best regards,
Manuel
EDIT at 17:32:
P.S.: Just tested with fixed typo: No improvement "Report view" scrolling seems to be impossible at all with the current code.
/EDIT