Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task view width unbounded (with Terminus font) #13890

Open
2 tasks done
krushia opened this issue May 7, 2024 · 2 comments
Open
2 tasks done

Task view width unbounded (with Terminus font) #13890

krushia opened this issue May 7, 2024 · 2 comments
Labels
3rd party: Qt Bug This issue or PR is related to a bug Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Known issue

Comments

@krushia
Copy link

krushia commented May 7, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

I double-clicked on a Part Fusion in the Tree view, and the Task view exploded in size.
Screenshot_20240507_180414

In the same session I was using sketcher, and the task view didn't behave oddly there. A list of things I've done in the past day that could maybe have caused it:

1. I've changed from FreeCAD_weekly-builds-37100-conda-Linux-x86_64-py311.AppImage to FreeCAD_weekly-builds-37213-conda-Linux-x86_64-py311.AppImage
2. I've made some tweaks to system fonts via fontconfig to diagnose other issues
3. I've moved Tree view and Selection view from outside the main window to inside, then back again a few times to diagnose yet another reported issue

Full version info

OS: Gentoo Linux (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.37213 (Git) AppImage
Build type: Release
Branch: main
Hash: 20e7deb86a8c6c2cd2378f09f8313760933f3a5c
Python 3.11.9, Qt 5.15.13, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: English/United States (en_US)
Installed mods: 
  * parts_library
  * Curves 0.6.36
  * A2plus 0.4.64a
  * DynamicData 2.62.0
  * Assembly4 0.50.12 (Disabled)
  * Alternate_OpenSCAD 1.0.0
  * CurvedShapes 1.0.9
  * fasteners 0.5.20
  * SearchBar 1.0.2
  * Nodes 0.1.36 (Disabled)
  * workfeature
  * MnesarcoUtils 0.2.5
  * Manipulator 1.5.7
  * Assembly3 0.12.2
  * lattice2 1.0.0
  * Launcher
  * CommandPanel
  * CubeMenu
  * PieMenu 1.5.0
  * MeshRemodel 1.9.23

Subproject(s) affected?

Other (specify in description)

Anything else?

I've seen this happen in other Qt apps. KDE has one seldom used dialog that has MAX_INT horizontal dimension. I can "fix" it with a window manager rule. The screenshot was taken after moving Tasks out of the window (it was unbounded when docked as well). This is a 4 monitor setup, one on top of 3.

Related: #11016
Possibly caused by: #13611 (which I see has been reverted)

Code of Conduct

  • I agree to follow this project's Code of Conduct
@krushia krushia changed the title Task view width unbounded Task view width unbounded (with Terminus font) May 8, 2024
@krushia
Copy link
Author

krushia commented May 8, 2024

Caused by using the Terminus font. There is a longstanding Qt bug about this. https://bugreports.qt.io/browse/QTBUG-22599

I'm leaving this open because even though Qt is bugging out, the problem only manifests when no maximum size is defined for windows and/or the widgets contained within.

@maxwxyz maxwxyz added Bug This issue or PR is related to a bug Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Known issue 3rd party: Qt labels May 8, 2024
@krushia
Copy link
Author

krushia commented May 9, 2024

Related: #10514

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd party: Qt Bug This issue or PR is related to a bug Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Known issue
Projects
None yet
Development

No branches or pull requests

2 participants