Skip to content

shutter cannot take screenshot in cmd while other instance is running #784

@fireinice

Description

@fireinice

Brief summary of issue

Before when shutter is running, it could to take a screenshot run shutter -a to quick take a screenshot. by now it will exit with log below

but shutter -s output the same log and then I can select area.

Steps to reproduce the issue

  1. run shutter
  2. runt shutter -a in command line
  3. no screen shot taken

Error output

GLib-CRITICAL **: g_once_init_leave_pointer: assertion 'result != 0' failed at /usr/lib/x86_64-linux-gnu/perl5/5.40/Glib/Object/Introspection.pm line 110.
 at /usr/share/perl5/Gtk3.pm line 489.
        Gtk3::import("Gtk3", "-init") called at /usr/bin/shutter line 72
        Shutter::App::BEGIN() called at /usr/bin/shutter line 72
        eval {...} called at /usr/bin/shutter line 72
GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed at /usr/lib/x86_64-linux-gnu/perl5/5.40/Glib/Object/Introspection.pm line 110.
 at /usr/share/perl5/Gtk3.pm line 489.
        Gtk3::import("Gtk3", "-init") called at /usr/bin/shutter line 72
        Shutter::App::BEGIN() called at /usr/bin/shutter line 72
        eval {...} called at /usr/bin/shutter line 72
GLib-CRITICAL **: g_once_init_leave_pointer: assertion 'result != 0' failed at /usr/lib/x86_64-linux-gnu/perl5/5.40/Glib/Object/Introspection.pm line 110.
 at /usr/share/perl5/Gtk3.pm line 489.
        Gtk3::import("Gtk3", "-init") called at /usr/bin/shutter line 72
        Shutter::App::BEGIN() called at /usr/bin/shutter line 72
        eval {...} called at /usr/bin/shutter line 72
GLib-GObject-CRITICAL **: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed at /usr/lib/x86_64-linux-gnu/perl5/5.40/Glib/Object/Introspection.pm line 110.
 at /usr/share/perl5/Gtk3.pm line 489.
        Gtk3::import("Gtk3", "-init") called at /usr/bin/shutter line 72
        Shutter::App::BEGIN() called at /usr/bin/shutter line 72
        eval {...} called at /usr/bin/shutter line 72
GLib-CRITICAL **: g_once_init_leave_pointer: assertion 'result != 0' failed at /usr/lib/x86_64-linux-gnu/perl5/5.40/Glib/Object/Introspection.pm line 110.
 at /usr/share/perl5/Gtk3.pm line 489.
        Gtk3::import("Gtk3", "-init") called at /usr/bin/shutter line 72
        Shutter::App::BEGIN() called at /usr/bin/shutter line 72
        eval {...} called at /usr/bin/shutter line 72
Name "Gtk3::Gdk::SELECTION_CLIPBOARD" used only once: possible typo at /usr/bin/shutter line 418.
WARNING: gnome-web-photo is missing --> screenshots of websites will be disabled!

 at /usr/bin/shutter line 9248.
        Shutter::App::fct_init_depend() called at /usr/bin/shutter line 196
Subroutine lookup redefined at /usr/share/perl5/Shutter/Draw/DrawingTool.pm line 28.
        require Shutter/Draw/DrawingTool.pm called at /usr/bin/shutter line 229
Variable "$self" will not stay shared at /usr/share/perl5/Shutter/Screenshot/SelectorAdvanced.pm line 860.
        require Shutter/Screenshot/SelectorAdvanced.pm called at /usr/bin/shutter line 234

INFO: There is already another instance of Shutter running!

Extra information, such as Shutter version, display server in use (Xorg or Wayland), operating system and ideas for how to solve:

shutter: 0.99.6 Rev.1816
debian: trixie
glib: 2.84.4-3~deb13u1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions