10.9 on ubuntu have problem about user interface display

Get help for specific problems
Posts: 2
Joined: 11 Feb 2019

pijag

Hello every body.
I used Ubuntu 18.10 and installed FreeFileSync for sync data when I installed and run FreeFileSync, it has problems as shown in the image file. Who can help me?
Attachments
Problem
Problem
Screenshot.png (169.24 KiB) Viewed 1102 times
User avatar
Site Admin
Posts: 7049
Joined: 9 Dec 2007

Zenju

This is related to high-DPI settings. Do you have any steps on how to reproduce this?
Posts: 2
Joined: 11 Feb 2019

pijag

This is related to high-DPI settings. Do you have any steps on how to reproduce this? Zenju, 11 Feb 2019, 09:42
I do not have any steps, can you recommend me the reproduce this?
User avatar
Site Admin
Posts: 7049
Joined: 9 Dec 2007

Zenju

Ideally, there would be steps that can be reproduced for Ubuntu 10.8 running in a VM, e.g. specific display settings, or whatever is triggering the above 288 DPI icons.
Posts: 1
Joined: 5 Jul 2019

martin1

FreeFileSync after installation.png
FreeFileSync after installation.png (213.4 KiB) Viewed 962 times
I have the same problem. It happens right after installation. I installed FreeFileSync 10.13 on Ubuntu 19.04.
Therefore the steps are:
Download 10.13
unpack the archive
double click the executable FreeFileSync
the same happens if I start it with ./FreeFileSync via commandline. In this case I get this messages:
Gtk-Message: 01:08:06.804: Failed to load module "canberra-gtk-module"
(FreeFileSync_x86_64:16001): Gtk-CRITICAL **: 01:08:06.984: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed
FreeFileSync_x86_64:16647): Gtk-CRITICAL **: 01:13:35.034: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed

(The second message appears twice.)
Installing the missing module with
sudo apt-get install libcanberra-gtk-module
does not solve the problem, but removes the first line of the error messages. the two Gtk-CRITICAL still appear.
I have 2 screens. One is set to 1920 x 1200 (16:10) and one is 1920:1080 (16:10). The error appears on both screens.
Posts: 1
Joined: 6 Jul 2019

Juan Nadie

I also have the same problem of the big icons on the gui.

When I run FreeFileSync from the command line I have this message:
(FreeFileSync_x86_64:4082): Gtk-CRITICAL **: 11:50:04.687: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed

(FreeFileSync_x86_64:4082): Gtk-CRITICAL **: 11:50:04.687: IA__gtk_widget_set_size_request: assertion 'width >= -1' failed
I'm using Kubuntu 19.04.

For me the last version of FreeFileSync that works is 10.6

Any idea would help
User avatar
Site Admin
Posts: 7049
Joined: 9 Dec 2007

Zenju

I have a hunch what this might be about. wxWidgets itself doesn't seem to be affected, just the icon sizes are. Let's make a test: The following version defers icon initialization to a later stage. Does this fix the problem?
https://www.mediafire.com/file/kw5qggqw62lj3yx/FreeFileSync_10.15_beta_Linux.tar.gz
Posts: 306
Joined: 7 Jan 2018

bgstack15

This is GTK+3, right? Maybe you need to try setting some specific environment variables (from https://wiki.archlinux.org/index.php/HiDPI#GDK_3_%28GTK+_3%29)
If you are using a window manager other than Gnome and have scaled the fonts using Xft.dpi, you must tell GDK to scale the UI as well. This will result in a further increase of the font-size for GDK apps, so you must undo the scaling of the text only.

To scale UI elements by a factor of two:
export GDK_SCALE=2
To undo scaling of text:
export GDK_DPI_SCALE=0.5
So, to apply this here, try running this:
GDK_SCALE=1 /path/to/FreeFileSync
And report if that makes a difference.