hschauhan / gosync

An Opensource Google Drive client written in Python
https://hschauhan.github.io/gosync/
GNU General Public License v2.0
281 stars 57 forks source link

Bad GUI on Elementary OS #44

Open onsah opened 4 years ago

onsah commented 4 years ago

The GUI behaves very weird in Elementary OS. The console output is like this:

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

(GoSync:15768): Gtk-CRITICAL **: 18:33:30.821: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(GoSync:15768): Gtk-CRITICAL **: 18:33:30.821: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

The image of the GUI is shown below:

image

If I understand the problem I may work to fix it.

arentoine commented 4 years ago

Hello,

can you provide information about the version of Elementary OS you're using as well as the version of the wxgtk, wxpython installed.

This looks like a known bug with WxWidgets : https://trac.wxwidgets.org/ticket/17971

Regards

onsah commented 4 years ago

Hi, I am using Elementary OS 5.1.6 (Hera) currently.

wxgtk:

ii  libwxgtk3.0-gtk3-0v5:amd64                    3.0.4+dfsg-3                                     amd64       
wxWidgets Cross-platform C++ GUI toolkit (GTK+ 3 runtime)

wxpython:

ii  python3-wxgtk4.0                              4.0.1+dfsg-2                                     amd64        
Python 3 interface to the wxWidgets Cross-platform C++ GUI toolkit

Hopefully they are what you were asking

arentoine commented 4 years ago

Hello,

I reproduced the problem. This is linked to the GTK library in WxWidgets. Unfortunately, I haven't able to find a package update with the fix introduced in the code base in march.

I'll keep looking periodically.

You can still use GoSync as this does not affect the core functions.

REgards

Alain