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

multiple GTK errors on KDE wayland #5171

Open
3 tasks done
Nathan22211 opened this issue Apr 27, 2024 · 4 comments
Open
3 tasks done

multiple GTK errors on KDE wayland #5171

Nathan22211 opened this issue Apr 27, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Nathan22211
Copy link

Is there an existing issue for this problem?

  • I have searched the existing issues

OrcaSlicer Version

2.0.0

Operating System (OS)

Linux

OS Version

Arch Linux (zen kernel)

Additional system information

ryzen 7 5700X
rx 7600

Printer

can't even get it to launch

How to reproduce

open the app image under KDE wayland on an arch linux install. mind you that webkit2gtk and qt5-wayland are needed on the system to fix some other errors

Actual results

it fails to open

Expected results

it should open as expected

Project file & Debug log uploads

I only really have the console output to go off of

[2024-04-27 11:41:02.195490] [0x00007604c63f9480] [trace]   Initializing StaticPrintConfigs
add font of HarmonyOS_Sans_SC_Bold returns 1
add font of HarmonyOS_Sans_SC_Regular returns 1
add font of NanumGothic-Regular returns 1
add font of NanumGothic-Bold returns 1

(orca-slicer:286265): GLib-GObject-CRITICAL **: 11:41:02.547: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.547: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:286265): GLib-GObject-CRITICAL **: 11:41:02.547: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.547: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:286265): GLib-GObject-CRITICAL **: 11:41:02.548: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.548: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:286265): GLib-GObject-CRITICAL **: 11:41:02.548: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.548: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:286265): GLib-GObject-CRITICAL **: 11:41:02.549: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.549: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:286265): GLib-GObject-CRITICAL **: 11:41:02.550: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.550: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:286265): GLib-GObject-CRITICAL **: 11:41:02.550: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.550: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:286265): GLib-GObject-CRITICAL **: 11:41:02.551: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.551: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:286265): GLib-GObject-CRITICAL **: 11:41:02.551: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.551: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:286265): GLib-GObject-CRITICAL **: 11:41:02.552: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.552: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.649: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.651: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.651: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.651: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.651: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.651: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.651: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.651: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.651: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.656: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.656: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.656: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.719: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.719: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.727: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.727: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.729: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.729: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.734: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.734: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.738: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.738: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.742: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.742: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.746: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.746: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.750: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:286265): Gtk-CRITICAL **: 11:41:02.750: gtk_widget_set_size_request: assertion 'width >= -1' failed

Checklist of files to include

  • Log file
  • Project file

Anything else?

I don't think it's related to a KDE sizing issue. mine was at 100% and even tried it at 75% to the same effect

@Nathan22211 Nathan22211 added the bug Something isn't working label Apr 27, 2024
@patrickslarson8
Copy link

Experiencing the same issue on a fresh install of Ubuntu 22.04, so I don't think it's related to the KDE environment.

@patrickslarson8
Copy link

Seems to be related to the Bambu Studio code that was pulled in. See also: #886 and #bambulab/BambuStudio#1868.

@spusuf
Copy link

spusuf commented Jun 27, 2024

Same issue with basically identical logs on Arch Linux using Wayland.

@serchemach
Copy link

Had the same issue with Arch Linux using hyprland, was able to solve it by using setting GDK_BACKEND=x11 when running the appimage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants