GoldenCheetah 3.3 screen illustrate error

371 views
Skip to first unread message

Jesse Kaislavuo

unread,
Nov 11, 2016, 8:26:41 AM11/11/16
to golden-cheetah-users
Hi!

Last two years I have been using GoldenCheetah so that my athlete library is located on my dropbox folder.
I have 2 Macs and everything has been run very smoothly.


Yesterday I clean installed Mac OS Sierra to my 5 years old MacBook Air. I installed version 3.3 as normal, made user named as "test" at first run and went to
setting to change my athlete folder to dropbox where my old athlete data located.
GoldenCheetah was able to read that folder as normal but interface looks a bit weird. Everything is scaled to about -50% from normal and I can hardly see the data.
I uninstalled GoldenCheetah and also deleted library folder. Then I moved my dropbox folder to different location so that new install couldn't read the data from there.
Problem didn't dissapear after second install. New athlete folder is now located in user library (and I mean new, no files) but interface looks still the very same.

Tried to uninstall app by using CleanMyMac -tool but it didn't help, there is still left some files in my computer that causes error.
My other Mac has 27'' screen and it feels like that some script in my original athlete folder tells that I'm running bigger screen even in 13'' Macbook.

I clean installed GoldenCheetah third time and set athlete folder to be in dropbox. Everything works find as it did after first install but UI is unusable because on font size.
Do you guys know any hacks to get my UI back to normal?


Thanks!
Näyttökuva 2016-11-11 kello 14.53.23.png

Salvatore Taibi

unread,
Nov 11, 2016, 9:36:50 AM11/11/16
to golden-cheetah-users
I think I'm experiencing the same issue running 3.4 (RC1 & RC2) on Ubuntu 16.04.I never had any issues on OSX, but recently switched to Ubuntu and that is when the font sizing/scaling problem began. I can include a screenshot if anyone is interested.

Mark Liversedge

unread,
Nov 11, 2016, 9:43:47 AM11/11/16
to golden-cheetah-users
On Friday, 11 November 2016 14:36:50 UTC, Salvatore Taibi wrote:
I think I'm experiencing the same issue running 3.4 (RC1 & RC2) on Ubuntu 16.04.I never had any issues on OSX, but recently switched to Ubuntu and that is when the font sizing/scaling problem began. I can include a screenshot if anyone is interested.

You can set font sizes in preferences. 

ian

unread,
Nov 11, 2016, 11:22:04 AM11/11/16
to golden-che...@googlegroups.com
I posted on here a month ago with similar problem but had no response.
It is not a font problem they can be changed it is the scaling. For me
it is the activity and trends summary pages. I suspect it is a QT5
issue which seems to do it's own thing with scaling.

Mark Liversedge

unread,
Nov 11, 2016, 11:37:28 AM11/11/16
to golden-cheetah-users
On Friday, 11 November 2016 16:22:04 UTC, Ian wrote:
I posted on here a month ago with similar problem but had no response.
It is not a font problem they can be changed it is the scaling. For me
it is  the  activity and trends summary pages. I suspect it is a QT5
issue which seems to do it's own thing with scaling.

No, the Summary page is a web page, the scaling is to web fonts, there is no issue there.
The issue in the screenshot was related to the gui elements like the scope bar and side bar.

Mark 

ian

unread,
Nov 11, 2016, 12:10:23 PM11/11/16
to golden-che...@googlegroups.com
Any suggestions as to where I might look for a fix. GC is the only app
I have this problem with. I am using Debian Sid and a mixture of QT and
GTK apps. The toolbars scale fine as do all the graphs I think they are
using .Xresource default dpi.

thanks

Ian

Mark Liversedge

unread,
Nov 11, 2016, 12:24:11 PM11/11/16
to golden-cheetah-users
On Friday, 11 November 2016 17:10:23 UTC, Ian wrote:
Any suggestions as to where I might look for a fix. GC is the only app
I have this problem with. I am using Debian Sid and a mixture of QT and
GTK apps. The toolbars scale fine as do all the graphs I think they are
using .Xresource default dpi.

Got a screenshot?

Mark 

Jesse Kaislavuo

unread,
Nov 11, 2016, 2:40:10 PM11/11/16
to golden-cheetah-users
Font size isn't the problem. Whole UI is messed up, texts doesn't fit in labels and everything is very minimal.
Näyttökuva 2016-11-11 kello 21.35.52.png

Mark Liversedge

unread,
Nov 11, 2016, 3:02:57 PM11/11/16
to golden-cheetah-users
On Friday, 11 November 2016 19:40:10 UTC, Jesse Kaislavuo wrote:
Font size isn't the problem. Whole UI is messed up, texts doesn't fit in labels and everything is very minimal.

There are multiple conversations going on here.

In your case have you tried v3.4, which should fix issues on retina screens.

Mark 

Salvatore Taibi

unread,
Nov 11, 2016, 3:26:44 PM11/11/16
to golden-cheetah-users
I don't think it's a font issue. You can see there are different sized fonts across the screen. If I try to increase the size to make the "Summary" readable, it makes the "Activities" enormous. Also, you can see the Search Bar and other items don't seem to fit correctly. 
Screenshot from 2016-11-11 10-24-34.png

Mark Liversedge

unread,
Nov 11, 2016, 3:38:48 PM11/11/16
to golden-cheetah-users
Salvatore,

What size fonts have you got in preferences? (can you post a screen shot)
What version are you running? (version in about box)
Whose build are you using? (from goldencheetah.org or somewhere else?)

Mark

Salvatore Taibi

unread,
Nov 11, 2016, 9:27:28 PM11/11/16
to golden-cheetah-users
Mark,

I'm using Version 3.4 RC-2 from 2016-11-05 (Build id 3947). I downloaded it from the link on goldencheetah.org, which took me to github. I'm posting a screenshot of my preferences:
Screenshot from 2016-11-11 16-26-16.png

Salvatore Taibi

unread,
Nov 11, 2016, 9:42:16 PM11/11/16
to golden-cheetah-users
For what it's worth, the issue is regardless of what font I select, and it also was an issue with RC1. But, as I mentioned, it was never a problem on OSX.

Mark Liversedge

unread,
Nov 12, 2016, 4:17:08 AM11/12/16
to golden-cheetah-users
In which case I would suggest you check your Xdefaults and Xresources settings
I develop on Linux and run GC in Gnome and Unity every day and have no issues.

Mark

ian

unread,
Nov 12, 2016, 5:27:18 AM11/12/16
to golden-che...@googlegroups.com
The problem is because I am now using a larger uhd monitor but all
other apps work fine.

Ian
screen.png

Mark Liversedge

unread,
Nov 12, 2016, 5:53:16 AM11/12/16
to golden-cheetah-users
I use a 5k retina screen and just scale the fonts to suit.

ian

unread,
Nov 12, 2016, 6:08:26 AM11/12/16
to golden-che...@googlegroups.com
On Sat, 12 Nov 2016 02:53:16 -0800 (PST)
Mark Liversedge <liver...@gmail.com> wrote:

> I use a 5k retina screen and just scale the fonts to suit.
>
> On Saturday, 12 November 2016 10:27:18 UTC, Ian wrote:
> >
> > On Fri, 11 Nov 2016 09:24:11 -0800 (PST)
> > Mark Liversedge <liver...@gmail.com> wrote:
> >
> > > On Friday, 11 November 2016 17:10:23 UTC, Ian wrote:
> > > >
> > > > Any suggestions as to where I might look for a fix. GC is the
> > > > only app I have this problem with. I am using Debian Sid and a
> > > > mixture of QT and GTK apps. The toolbars scale fine as do all
> > > > the graphs I think they are using .Xresource default dpi.
> > > >
> > >
> > > Got a screenshot?
> > >
> > > Mark
> > >
> >
> > The problem is because I am now using a larger uhd monitor but all
> > other apps work fine.
> >
> > Ian
>


Changing the font size within GC works only with some sections of the
display it does not affect the main part of the summary display on the
activities or trend page. Setting the dpi in .xresourses changes the
borders and toolbars. This can be seen on the screenshot.

Ian

Mark Liversedge

unread,
Nov 12, 2016, 6:22:07 AM11/12/16
to golden-cheetah-users
On Saturday, 12 November 2016 11:08:26 UTC, Ian wrote:
Changing the font size within GC works only with some sections of the
display it does not affect the main part of the summary display on the
activities or trend page. Setting the dpi in .xresourses changes the
borders and toolbars. This can be seen on the screenshot.

There is absolutely nothing I can do about this.
  • Summary is a web-page rendered by WebKit
  • Borders and toolbars are rendered by your display manager
  • Qt Widgets are rendered by the QT paint system
  • Xdefaults and Xresources are controlled by the user

The font sizes defined in preferences are used everywhere in GC, any settings that override these are beyond my control.

Mark

Mark Liversedge

unread,
Nov 12, 2016, 6:30:22 AM11/12/16
to golden-cheetah-users
Actually there are a few places where widget sizes have a fixed height; the search and view bar are set to 24pts high.

ian

unread,
Nov 12, 2016, 6:36:15 AM11/12/16
to golden-che...@googlegroups.com
On Sat, 12 Nov 2016 03:22:06 -0800 (PST)
Mark Liversedge <liver...@gmail.com> wrote:

> On Saturday, 12 November 2016 11:08:26 UTC, Ian wrote:
> >
> > Changing the font size within GC works only with some sections of
> > the display it does not affect the main part of the summary display
> > on the activities or trend page. Setting the dpi in .xresourses
> > changes the borders and toolbars. This can be seen on the
> > screenshot.
>
> There is absolutely nothing I can do about this.
>
> - Summary is a web-page rendered by WebKit
> - Borders and toolbars are rendered by your display manager
> - Qt Widgets are rendered by the QT paint system
> - Xdefaults and Xresources are controlled by the user
>
>
> The font sizes defined in preferences are used everywhere in GC, any
> settings that override these are beyond my control.
>
> Mark
>

Thanks for the explanation.

Ian

Mark Liversedge

unread,
Nov 12, 2016, 6:46:27 AM11/12/16
to golden-cheetah-users
On Saturday, 12 November 2016 11:36:15 UTC, Ian wrote:
Thanks for the explanation.

I know it doesn't really help though.

I've held back from pulling the trigger on a 4k panel for my Linux workstation due to the crappy support from NVidia (I have a GTX780).

I need to resolve this, and the only way to really do that is to "live it" .. that will drive me mad enough to fix it (or find out how to configure for it).
I've just got a 5k iMac as well so understand the issues there.

The problem really comes from assumptions made in the code, sketchy support in QT before 5.6 and different approaches across OSes for scaling and high-DPI support.

Give us time, we will get there (the hardware aint cheap!).

Mark

ian

unread,
Nov 12, 2016, 7:22:20 AM11/12/16
to golden-che...@googlegroups.com
Found a fix, it is as I suspected a QT5 issue, well for me anyway. All
credit to Arch Linux wiki. This works for QT 5.6>

create a file

/etc/profile.d/qt-hidpi.sh

with one line

export QT_AUTO_SCREEN_SCALE_FACTOR=1

make it executable

chmod -x /etc/profile.d/qt-hidpi.sh


reboot, and GC is scaled properly.


hth

Ian









Mark Liversedge

unread,
Nov 12, 2016, 7:29:19 AM11/12/16
to golden-cheetah-users
Would you mind adding this to the FAQ?

As 4k panels become more "affordable" I think this will come up more and more.

Thanks

Mark

Salvatore Taibi

unread,
Nov 12, 2016, 4:48:31 PM11/12/16
to golden-cheetah-users
That sounds like a solution that works... but can someone please explain it to me? I am just getting my feet wet with this stuff.

If I understand correctly, am I opening a terminal window and typing in those two lines?

Mark Liversedge

unread,
Nov 13, 2016, 4:34:27 AM11/13/16
to golden-cheetah-users

ian

unread,
Nov 13, 2016, 6:01:05 AM11/13/16
to golden-che...@googlegroups.com
On Sat, 12 Nov 2016 13:48:31 -0800 (PST)
Salvatore Taibi <salt...@hotmail.com> wrote:

> That sounds like a solution that works... but can someone please
> explain it to me? I am just getting my feet wet with this stuff.
>
> If I understand correctly, am I opening a terminal window and typing
> in those two lines?



Not quite that simple but easy enough. You need to create a text file
called
qt-hidp.sh
The text file has just one line
exportQT_AUTO_SCREEN_SCALE_FACTOR=1
and put it in the folder
profile.d
which is a sub folder of
etc

then make the file executable

There are loads of tutorials online how to do all this


Ian

Salvatore Taibi

unread,
Nov 13, 2016, 10:19:50 AM11/13/16
to golden-cheetah-users
Thank you very much!

Mark Liversedge

unread,
Nov 16, 2016, 6:21:42 AM11/16/16
to golden-cheetah-users
Having now setup Linux on a 4k display there seem to be a few high-dpi issues left to resolve, that may or may not be related to the version of QT we build with, but ones I have spotted so far on QT5.6.2

- webengine rendering is broken (toolbar/sidebar artefacts are left behind on the web page)
- R graphics scenes are only rendered in the bottom right corner
- The default fonts are all too small on such a large display

Will get to work on fixing these for v4.

Mark

ian

unread,
Nov 16, 2016, 7:45:23 AM11/16/16
to golden-che...@googlegroups.com
The default global fonts are set at 96dpi in .Xresources I
just changed this to Xft.dpi: 160

GC looks to work fine on my Debian install at 3840 x 2160

Ian

Mark Liversedge

unread,
Nov 16, 2016, 10:01:48 AM11/16/16
to golden-cheetah-users
I found a generalised fix for QT applications on Linux is to set QT_SCALE_FACTOR=2 to match my GNOME setting, but that might not be as useful for other users.

It helps with menu font sizes etc in GC but also in other developer tools like QtCreator

Mark 

ian

unread,
Nov 16, 2016, 11:48:55 AM11/16/16
to golden-che...@googlegroups.com

Just setting the .Xresources dpi to 160 fixed both GTK and QT5
application font sizes, all the GTK and QT apps render fine and all
are using their default font sizes including GC.

The only problem was the couple of GC pages I mentioned up thread which
didn't scale although all other QT5 apps were OK but GC is the
only QT app I use with a web page as part of the display. The
qt-hidpi.sh fix sorted that. I don't have any of the other issues you
mention all of GC looks fine.


Ian







On Wed, 16 Nov 2016 07:01:48 -0800 (PST)

Mark Liversedge

unread,
Nov 16, 2016, 12:04:39 PM11/16/16
to golden-cheetah-users
There are 3 ways to scale up for high DPI screens on Linux outside of application settings:

1. Font scaling (e.g. gnome-tweak-tool)
2. Qt Application Display Scaling (e.g. QT_SCALE_FACTOR=2)
3. DPI increase (e.g. Xresources)

For GC as it stands 3 works best but both the other 2 approaches have issues which I will look to fix for v4.0. They're likely to get fixed quite quickly as they're driving me nuts already !!

Cheers
Mark

Mark Liversedge

unread,
Nov 16, 2016, 12:18:10 PM11/16/16
to golden-cheetah-users
Oops* and a 4th:
4. Native Display Scaling (e.g. gnome-settings)

4 works quite well, although fonts in menus/titlebars are problematic (e.g. in Chrome)

Mark

* Enough, I will write a blog post.
Reply all
Reply to author
Forward
0 new messages