Squashed controls in Ubuntu 19.04

A forum for research and development of the user interface of FreeCAD

Moderator: agryson

User avatar
Joel_graff
Posts: 1581
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Squashed controls in Ubuntu 19.04

Postby Joel_graff » Tue May 28, 2019 10:55 am

So has this issue been identified?

Screenshot from 2019-05-28 05-53-00.png
Screenshot from 2019-05-28 05-53-00.png (14.04 KiB) Viewed 477 times

I noticed it several months ago when I was running Pop OS, and assumed it was just that distro, but apparently, it's ubuntu as well...

Code: Select all

OS: Ubuntu 19.04
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16117 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.18.2)
Hash: dbb4cc6415bac848a294f03b80f65e888d531742
Python version: 3.6.7
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails

pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
wmayer
Site Admin
Posts: 14999
Joined: Thu Feb 19, 2009 10:32 am

Re: Squashed controls in Ubuntu 19.04

Postby wmayer » Tue May 28, 2019 11:20 am

OS: Ubuntu 19.04
Qt version: 5.6.2
I wonder whether using this quite old Qt version on the latest Ubuntu version might be a problem. According to https://packages.ubuntu.com/search?keyw ... ection=all the used default version is 5.11.
User avatar
Joel_graff
Posts: 1581
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Squashed controls in Ubuntu 19.04

Postby Joel_graff » Tue May 28, 2019 11:50 am

wmayer wrote:
Tue May 28, 2019 11:20 am
I wonder whether using this quite old Qt version on the latest Ubuntu version might be a problem. According to https://packages.ubuntu.com/search?keyw ... ection=all the used default version is 5.11.
That may be. I'm assuming I can't fix that without using a newer AppImage, right? If so, I'm out of luck, because I can't get 0.19 to run either as an AppImage or compile from source on my system. This appears my only option.
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails

pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
wmayer
Site Admin
Posts: 14999
Joined: Thu Feb 19, 2009 10:32 am

Re: Squashed controls in Ubuntu 19.04

Postby wmayer » Tue May 28, 2019 12:08 pm

You can tmp. install the official FreeCAD from the Ubuntu repository. Even if this might be an old version you can at least easily test if the same dialog is broken or not.
User avatar
Joel_graff
Posts: 1581
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Squashed controls in Ubuntu 19.04

Postby Joel_graff » Tue May 28, 2019 1:03 pm

wmayer wrote:
Tue May 28, 2019 12:08 pm
You can tmp. install the official FreeCAD from the Ubuntu repository. Even if this might be an old version you can at least easily test if the same dialog is broken or not.
Right. I'll take a look at that later today and confirm. I've gotten so used to working with dev, I completely forget about the repo version :oops:

Also, while I've got your attention, I don't suppose you'd mind giving your opinion on this issue? (I suppose I'm hijacking my own thread ;) )

https://forum.freecadweb.org/viewtopic. ... 6&start=10
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails

pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
wmayer
Site Admin
Posts: 14999
Joined: Thu Feb 19, 2009 10:32 am

Re: Squashed controls in Ubuntu 19.04

Postby wmayer » Tue May 28, 2019 1:53 pm

Joel_graff wrote:
Tue May 28, 2019 1:03 pm
Also, while I've got your attention, I don't suppose you'd mind giving your opinion on this issue? (I suppose I'm hijacking my own thread ;) )

https://forum.freecadweb.org/viewtopic. ... 6&start=10
https://forum.freecadweb.org/viewtopic. ... 09#p310895
User avatar
Joel_graff
Posts: 1581
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Squashed controls in Ubuntu 19.04

Postby Joel_graff » Tue May 28, 2019 5:22 pm

wmayer wrote:
Tue May 28, 2019 12:08 pm
You can tmp. install the official FreeCAD from the Ubuntu repository. Even if this might be an old version you can at least easily test if the same dialog is broken or not.
The freecad 0.18 snap doesn't have that issue. Too bad it runs Python 2.7 :(
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails

pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
User avatar
Joel_graff
Posts: 1581
Joined: Fri Apr 28, 2017 4:23 pm
Contact:

Re: Squashed controls in Ubuntu 19.04

Postby Joel_graff » Wed May 29, 2019 2:41 am

Ok, so I've learned the following about FreeCAD and my fresh install of Ubuntu 19.04

- v0.19 just doesn't work. It loads, but has (I'm guessing) a Py3 incompatibility issue. AppImage, FreeCAD-daily, and build from source all exhibit the same problem that prevents any workbench from loading. I've posted on this elsewhere...
- v0.18 AppImage works, but exhibits the squashed box issue
- v0.18 Snap works without issue. It's old. And ugly. But it works.

And with that, I have no other ideas.
FreeCAD Trails workbench for transportation engineering: https://www.github.com/joelgraff/freecad.trails

pivy_trackers 2D coin3D library: https://www.github.com/joelgraff/pivy_trackers
wmayer
Site Admin
Posts: 14999
Joined: Thu Feb 19, 2009 10:32 am

Re: Squashed controls in Ubuntu 19.04

Postby wmayer » Wed May 29, 2019 8:04 am

When looking at https://packages.ubuntu.com/search?keyw ... ection=all then apparently in 19.04 the FreeCAD package is not offered at all. eoan will this be the upcoming Ubuntu 19.10? There FreeCAD v0.18 is back.
vocx
Posts: 1888
Joined: Thu Oct 18, 2018 9:18 pm

Re: Squashed controls in Ubuntu 19.04

Postby vocx » Wed May 29, 2019 5:24 pm

wmayer wrote:
Wed May 29, 2019 8:04 am
When looking at https://packages.ubuntu.com/search?keyw ... ection=all then apparently in 19.04 the FreeCAD package is not offered at all. eoan will this be the upcoming Ubuntu 19.10? There FreeCAD v0.18 is back.
Yes, that seems to be the case. Kremitzki's response is basically that it was removed (due to some test error?) from 19.04. In order to include it again users would need to add the ubuntu-backports repository. So he thinks that if users need to activate an additional repository, they should forgo the backports, and just add the freecad-stable or freecad-daily repositories, and get the latest FreeCAD that way.

In 19.10 a version of FreeCAD 0.18 (0.18.2 or 0.18.3, if any is released) will be included as long as no error is found again.
kkremitzki wrote:
Thu May 09, 2019 1:42 am
... Regardless, it isn't going to be available because it was removed and 19.04 is already released; it might be possible to get it in via disco-backports but not disco proper, so someone obtaining it that way would have to add the -backports repo anyway; they might as well just add our PPA.