Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plater tab crashes on ubuntu #952

Closed
subsite opened this issue Jun 5, 2018 · 7 comments
Closed

Plater tab crashes on ubuntu #952

subsite opened this issue Jun 5, 2018 · 7 comments

Comments

@subsite
Copy link

subsite commented Jun 5, 2018

Version

1.40.0-beta+linux64 (Run from AppImage Slic3rPE-1.40.0-beta.linux64-full-201805231653.AppImage)

Operating system type + version

Ubuntu 18.04

Behavior

  • Describe the problem
    Control panels aren't redrawn when switching back to the plater tab (see screenshot). It still responds to clicks if you click the area the button normally is. This problem first appeared with 1.40.0-beta, 1.40.0-alpha still works normally.

When run from the terminal, it gives the following output (The IA__gtk_color_button_set_color-error displays immediately on startup, the IA__gdk_window_thaw_updates appears when the bug is triggered):

$ ./Slic3rPE-1.40.0-beta.linux64-full-201805231653.AppImage 
Creating main frame...

(slic3r.pl:24539): Gtk-CRITICAL **: 18:32:24.961: IA__gtk_color_button_set_color: assertion 'color != NULL' failed

(slic3r.pl:24539): Gdk-CRITICAL **: 18:32:34.314: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed

(slic3r.pl:24539): Gdk-CRITICAL **: 18:32:34.314: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed

(slic3r.pl:24539): Gdk-CRITICAL **: 18:32:34.314: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed

(slic3r.pl:24539): Gdk-CRITICAL **: 18:32:34.314: IA__gdk_window_thaw_updates: assertion 'impl_window->update_freeze_count > 0' failed

# ...and the same error repeated numerous times
  • Steps needed to reproduce the problem
    This happens after changing some parameters in another tab and then trying to return to the Plater. For me, this can be reproduced by opening the Filament tab and then selecting one of the sub menu items (e.g. Cooling).

screenshot from 2018-06-05 18-39-06

config.ini.zip

@lukasmatena
Copy link
Collaborator

Hi. You might wanna have a look at #898

Please, report if that helped to solve the problem.

@subsite
Copy link
Author

subsite commented Jun 5, 2018

Thanks, it seems to be the same problem. However, the mentioned workaround doesn't apply any more, as Ubuntu is now stable at 18.04 Bionic and is no longer using Unity as its desktop environment (they moved back to Gnome). The tweak to disable overlay scrollbars doesn't seem to be available in the tweak tool any more.

I will keep looking for a similar workaround for 18.04, but it would be nice if Slic3r were usable without changing the look and feel of the whole operating system. I'll have to move back to 1.39, but I'll really miss all the nice features of 1.40.

@subsite
Copy link
Author

subsite commented Jun 5, 2018

Ok, I might have found a similar workaround for 18.04.

In a terminal, enter gsettings set com.canonical.desktop.interface scrollbar-mode normal

I added this to the https://github.com/prusa3d/Slic3r/wiki/Known-Issues-and-Solutions

@lukasmatena
Copy link
Collaborator

Awesome, thank you very much. Since you found a way to fix it and there is apparently nothing else we can do about it (if the bug is in Ubuntu itself), I will close the issue, if you don't mind. If you do, reopen it at will. Thanks again for your feedback.

@subsite
Copy link
Author

subsite commented Jun 5, 2018

No problem, we can close this. Thanks!

@bubnikv
Copy link
Collaborator

bubnikv commented Jun 6, 2018 via email

bubnikv added a commit that referenced this issue Jun 11, 2018
The issue apparently manifests when Show()ing a window with overlay scrollbars while the UI is frozen. For this reason,
we will Thaw the UI prematurely on Linux. This means destroing the no_updates object prematurely.
@bubnikv
Copy link
Collaborator

bubnikv commented Jun 12, 2018

Fixed in Slic3r 1.40.0 final release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants