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

[Bug] 2.3.0-beta1+linux-x64 opens new instance when pressing ctrl-i #5301

Closed
RichiH opened this issue Nov 28, 2020 · 6 comments
Closed

[Bug] 2.3.0-beta1+linux-x64 opens new instance when pressing ctrl-i #5301

RichiH opened this issue Nov 28, 2020 · 6 comments

Comments

@RichiH
Copy link
Contributor

RichiH commented Nov 28, 2020

Version

2.3.0-alpha4+linux-x64

Operating system type + version

Debian testing / unstable

3D printer brand / version + firmware version (if known)

Prusa Mini+ 4.2.1-final+2072

Behavior

Pressing ctrl-i in Prusa Slicer is supposed to open the import dialogue. Instead, it starts a new instance of Prusa Slicer.

@RichiH RichiH changed the title [Bug] 2.3.0-alpha4+linux-x64 opens new instance when pressing ctrl-i [Bug] 2.3.0-beta1+linux-x64 opens new instance when pressing ctrl-i Nov 29, 2020
@RichiH
Copy link
Contributor Author

RichiH commented Nov 29, 2020

Also present in beta1

@tehcaster
Copy link

Same here, on openSUSE Tumbleweed with KDE. I've tried the official releases with and without GTK3 in name. Also own build from git main branch.

Here's console output from the GTK build:

[after prusa-slicer is executed, many similar messages ending with the following]
...
(prusa-slicer:8524): GLib-GObject-CRITICAL **: 17:00:00.089: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(prusa-slicer:8524): GLib-GObject-WARNING **: 17:00:00.089: invalid (NULL) pointer instance

(prusa-slicer:8524): GLib-GObject-CRITICAL **: 17:00:00.089: g_signal_handlers_unblock_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(prusa-slicer:8524): GLib-GObject-WARNING **: 17:00:00.089: invalid (NULL) pointer instance

(prusa-slicer:8524): GLib-GObject-CRITICAL **: 17:00:00.089: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(prusa-slicer:8524): GLib-GObject-WARNING **: 17:00:00.089: invalid (NULL) pointer instance

(prusa-slicer:8524): GLib-GObject-CRITICAL **: 17:00:00.089: g_signal_handlers_unblock_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

[here ctrl+i is pressed]

(prusa-slicer:8655): GLib-GObject-WARNING **: 17:00:06.530: invalid (NULL) pointer instance

(prusa-slicer:8655): GLib-GObject-CRITICAL **: 17:00:06.530: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(prusa-slicer:8655): GLib-GObject-WARNING **: 17:00:06.530: invalid (NULL) pointer instance

(prusa-slicer:8655): GLib-GObject-CRITICAL **: 17:00:06.530: g_signal_handlers_unblock_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(prusa-slicer:8655): GLib-GObject-WARNING **: 17:00:06.530: invalid (NULL) pointer instance

(prusa-slicer:8655): GLib-GObject-CRITICAL **: 17:00:06.530: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(prusa-slicer:8655): GLib-GObject-WARNING **: 17:00:06.530: invalid (NULL) pointer instance

(prusa-slicer:8655): GLib-GObject-CRITICAL **: 17:00:06.530: g_signal_handlers_unblock_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[2020-12-03 17:00:06.630332] [0x00007f4a2effd640] [error] Not primary owner of DBus name - probably another PrusaSlicer instance is running.
[2020-12-03 17:00:06.630361] [0x00007f4a2effd640] [error] Dbus Messages listening terminating.

(prusa-slicer:8655): GLib-GObject-WARNING **: 17:00:06.709: invalid (NULL) pointer instance

(prusa-slicer:8655): GLib-GObject-CRITICAL **: 17:00:06.709: g_signal_handlers_block_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(prusa-slicer:8655): GLib-GObject-WARNING **: 17:00:06.709: invalid (NULL) pointer instance

(prusa-slicer:8655): GLib-GObject-CRITICAL **: 17:00:06.709: g_signal_handlers_unblock_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

[similar output continues]

Same kind of stuff is printed (including the dbus message) when pruse-slicer is running and another instance is executed from different terminal. So it seems to be a consequence of ctrl+i starting another instance, not the cause.

@tehcaster
Copy link

Oh, I see. There's a new menu item "Window/Open new instance CTRL+I" so the same shortcut is assigned to two actions. On Windows, the import "wins", while on Linux, it's the new instance.

@nordurljosahvida
Copy link
Contributor

@RichiH can you confirm your issue is already represented in this thread? #4711

@bubnikv
Copy link
Collaborator

bubnikv commented Dec 6, 2020

We will do something in the next version, we did not decide yet what exactly we will do.

@bubnikv
Copy link
Collaborator

bubnikv commented Dec 7, 2020

Fixed with #4734

@bubnikv bubnikv closed this as completed Dec 7, 2020
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

4 participants