[DISCUSSION] Constraint's Widget - Open topics

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!
User avatar
chennes
Veteran
Posts: 3878
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: [DISCUSSION] Constraint's Widget - Open topics

Post by chennes »

abdullah wrote: Mon Oct 18, 2021 2:05 pm However, the problem reappears when selecting a theme (at least the dark-green one).
I still don't have an explanation for why it is happening, but it can be prevented by setting a minimum size for the TaskSketcherElements. Interestingly, it was not enough to set a minimum size for the individual QListWidget, that had no impact. But when I set the minimum size of the overall TSE to 400, that seems to do the trick. Can you confirm?
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

Re: [DISCUSSION] Constraint's Widget - Open topics

Post by abdullah »

chennes wrote: Tue Oct 19, 2021 6:59 pm
abdullah wrote: Mon Oct 18, 2021 2:05 pm However, the problem reappears when selecting a theme (at least the dark-green one).
I still don't have an explanation for why it is happening, but it can be prevented by setting a minimum size for the TaskSketcherElements. Interestingly, it was not enough to set a minimum size for the individual QListWidget, that had no impact. But when I set the minimum size of the overall TSE to 400, that seems to do the trick. Can you confirm?
I can confirm that setting the minimum size is a valid workaround.

Feel free to merge that, at least while we continue ignoring the cause, so as to mitigate user experience.
User avatar
chennes
Veteran
Posts: 3878
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: [DISCUSSION] Constraint's Widget - Open topics

Post by chennes »

Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
M4x
Veteran
Posts: 1472
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: [DISCUSSION] Constraint's Widget - Open topics

Post by M4x »

abdullah, thank you very much for your effort so far and for making the status quo, the questions and ideas clear. Regarding all that: I still need time to process it, work with this new feature and make up my mind.

Regarding the usability: Would it be possible to change the "Multiple filter selection" dialog in a way that it's possible to move it without moving the whole FreeCAD-window? Here is a gif which is to large to upload it here: https://maxtheman.de/public/FreeCAD/For ... 22-06.gif

(if you're getting a warning regarding the SSL-certificate: I've just issues a new one for the domain [moved my domain to another webhoster]. The error message should go away soon).

edit

Code: Select all

OS: Ubuntu 20.04.3 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git) AppImage
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: English/United States (en_US)
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

Re: [DISCUSSION] Constraint's Widget - Open topics

Post by abdullah »

M4x wrote: Wed Oct 20, 2021 8:26 pm Regarding the usability: Would it be possible to change the "Multiple filter selection" dialog in a way that it's possible to move it without moving the whole FreeCAD-window? Here is a gif which is to large to upload it here: https://maxtheman.de/public/FreeCAD/For ... 22-06.gif
Wow. That does not happens in my computer. When I move the dialog and only the dialog is moved. My version is other though. Do others also experience this?

OS: Ubuntu 20.04.3 LTS (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.20.
Build type: Release
Branch: unknown
Hash: 8fceac17628778bd0b2ba4c60bafd6494348ac08
Python version: 3.8.10
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.2
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: [DISCUSSION] Constraint's Widget - Open topics

Post by drmacro »

abdullah wrote: Thu Oct 21, 2021 4:28 pm ...
Wow. That does not happens in my computer. When I move the dialog and only the dialog is moved. My version is other though. Do others also experience this?

...
Same here, moves as expected.

OS: Debian GNU/Linux 10 (buster) (XFCE/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.26178 (Git)
Build type: Release
Branch: master
Hash: dce129ec49d904c7cdb1f7140aa51d62c16e15f3
Python version: 3.7.3
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

Re: [DISCUSSION] Constraint's Widget - Open topics

Post by abdullah »

M4x wrote: Wed Oct 20, 2021 8:26 pm Would it be possible to change the "Multiple filter selection" dialog in a way that it's possible to move it without moving the whole FreeCAD-window?
Is this persisting?

How do you get the binary, self compiled or from a PPA?. If self compiled, have you tried building from a clean copy?

In any case, there was another user reporting a different UI issue, that got fixed by "undocking" the task panel and "redocking" it. Could you try that?
User avatar
M4x
Veteran
Posts: 1472
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: [DISCUSSION] Constraint's Widget - Open topics

Post by M4x »

Yes, it's persistent.

I'm using the AppImage.

Undocking the task panel doesn't change anything. Redocking it doesn't change anything neither.

Until now, I'm the only one using Ubuntu Gnome. I'm going to test this behavior using different distributions to see if this is a Gnome or Ubuntu Gnome thing.
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: [DISCUSSION] Constraint's Widget - Open topics

Post by GeneFC »

You might also try temporarily removing your style sheet. I recall something from a couple of weeks ago about a style sheet causing problems of this sort.

Gene
User avatar
M4x
Veteran
Posts: 1472
Joined: Sat Mar 11, 2017 9:23 am
Location: Germany

Re: [DISCUSSION] Constraint's Widget - Open topics

Post by M4x »

I'm not using a custom stylesheet if you've something like that in mind.

I think it's a Gnome thing. Maybe only Ubuntu Gnome. I've tried to run FreeCAD using Fedora (= "vanilla" GNOME) but FreeCAD crashed on the live system :|


working

Code: Select all

MX Linux 19.4
OS: Debian GNU/Linux 10 (buster) (XFCE/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git) AppImage
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: English/United States (en_US)

Code: Select all

Kubuntu 20.04.3
OS: Ubuntu 20.04.3 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git) AppImage
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: English/United States (en_US)

unknown

Code: Select all

Fedora 34
GNOME Version 40.0.0
FreeCAD crashed, haven't looked into it any further:

Code: Select all

FreeCAD 0.20, Libs: 0.20R26155 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2021
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.
  #####                 ####  ###   ####  
  #                    #      # #   #   # 
  #     ##  #### ####  #     #   #  #   # 
  ####  # # #  # #  #  #     #####  #   # 
  #     #   #### ####  #    #     # #   # 
  #     #   #    #     #    #     # #   #  ##  ##  ##
  #     #   #### ####   ### #     # ####   ##  ##  ##

libGL error: MESA-LOADER: failed to open iris: /lib64/libLLVM-12.so: undefined symbol: _ZNSt9once_flag9_M_finishEb, version GLIBCXX_3.4.29 (search paths /usr/lib64/dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /lib64/libLLVM-12.so: undefined symbol: _ZNSt9once_flag9_M_finishEb, version GLIBCXX_3.4.29 (search paths /usr/lib64/dri)
libGL error: failed to load driver: swrast
/tmp/.mount_FreeCA7zOnml/AppRun: line 41:  2647 Aborted                 (core dumped) ${MAIN} "$@"


not working
tried a newer Ubuntu version too:

Code: Select all

OS: Ubuntu 21.10 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git) AppImage
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: English/United States (en_US)

I think using GNOME without the Ubuntu flavor would be interesting

edit
I've used live systems (thank you Linux :D ) but I could set up a VM too or install another OS on a spare laptop.
Post Reply