Overlapping Icons

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
moltenaluminium
Posts: 33
Joined: Thu Jul 16, 2020 4:07 am
Location: Brisbane, Australia
Contact:

Overlapping Icons

Post by moltenaluminium »

The last few times I've compiled FreeCAD, I'm seeing the icons and window edges cut off and overlap. Has anyone else seen this issue. It only seems to ba an issue with FreeCAD. Here is a screenshot of what I'm seeing:

Image

I'm running:
64 Bit Arch Linux
Compiling master branch:

cmake -Wno-dev -G Ninja -B build_dir -S . \
-D BUILD_ENABLE_CXX_STD=C++14 \
-D BUILD_QT5=ON \
-D BUILD_FEM=ON \
-D BUILD_MESH=ON \
-D BUILD_MESH_PART=ON \
-D BUILD_SHIP=ON \
-D BUILD_ASSEMBLY=OFF \
-D BUILD_COMPLETE=ON \
-D BUILD_PLOT=ON \
-D CMAKE_BUILD_TYPE=None \
-D CMAKE_C_FLAGS="${CFLAGS} -fPIC -w" \
-D CMAKE_CXX_FLAGS="${CXXFLAGS} -fPIC -w" \
-D FREECAD_USE_EXTERNAL_PIVY=ON \
-D FREECAD_USE_OCC_VARIANT="Official Version" \
-D FREECAD_USE_QT_FILEDIALOG=ON \
-D PYTHON_EXECUTABLE=/usr/bin/python \
-D INSTALL_TO_SITEPACKAGES=ON \
-D CMAKE_INSTALL_PREFIX="${_destdir}/lib/freecad" \
-D CMAKE_INSTALL_BINDIR=bin \
-D CMAKE_INSTALL_LIBDIR='../../lib' \
-D CMAKE_INSTALL_DATADIR='../../share/freecad' \
-D CMAKE_INSTALL_DATAROOTDIR='../../share' \
-D CMAKE_INSTALL_DOCDIR='../../share/doc/freecad'

cmake --build build_dir
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Overlapping Icons

Post by Kunda1 »

Moved to Install/Compile subforum
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Overlapping Icons

Post by Kunda1 »

is this a HiDPI issue?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
moltenaluminium
Posts: 33
Joined: Thu Jul 16, 2020 4:07 am
Location: Brisbane, Australia
Contact:

Re: Overlapping Icons

Post by moltenaluminium »

How would I check that?

I'm using the Mate Desktop on Arch linux. My screen rez is 1920(3840) x 1080 across 2 monitors. I'm not using a retna display or anything fancy.
chrisb
Veteran
Posts: 53939
Joined: Tue Mar 17, 2015 9:14 am

Re: Overlapping Icons

Post by chrisb »

If I understand you correctly, this happens only with the self compiled version, and neither with freecad-daily nor with the AppImage?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
moltenaluminium
Posts: 33
Joined: Thu Jul 16, 2020 4:07 am
Location: Brisbane, Australia
Contact:

Re: Overlapping Icons

Post by moltenaluminium »

That is correct.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Overlapping Icons

Post by Kunda1 »

Did you post your About info?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
chennes
Veteran
Posts: 3884
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Overlapping Icons

Post by chennes »

Kunda1 wrote: Tue Aug 24, 2021 3:38 pm Did you post your About info?
+1

In particular, is this the HEAD from git, or a 0.19 release? And which version of Qt are you compiled against?
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
moltenaluminium
Posts: 33
Joined: Thu Jul 16, 2020 4:07 am
Location: Brisbane, Australia
Contact:

Re: Overlapping Icons

Post by moltenaluminium »

OS: Arch Linux (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.20.25552 (Git)
Build type: Release
Branch: master
Hash: d0de6284f914dc02b4d494b96c4ee0c5762c4c24
Python version: 3.9.6
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)

the about screen looks like this:
Image
User avatar
chennes
Veteran
Posts: 3884
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Overlapping Icons

Post by chennes »

Very interesting - not just overlapping icons, but basically the whole interface, every individual element, is being clipped somehow. We should see if any other Arch/MATE users can reproduce this issue.

ETA - As a side note, your flags are a bit out of date, you should be using -D BUILD_ENABLE_CXX_STD=C++17, and the QT5 define is no longer used, we don't support Qt4 in 0.20 dev.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
Post Reply