Skip to content

suppress boring message due to absent 'activate' signal handlers of app AND failed drag icon of ImageView #778

@Tao-T

Description

@Tao-T

Brief summary of issue

Some boring message can be suppressed:

  1. no 'activate' signal handler for app
  2. drag_source_set_icon_pixbuf get failed for every tab ImageView (not supported?)

Steps to reproduce the issue

  1. start shutter
  2. take some screenshoot
  3. restart shutter

Error output

(shutter:3640824): GLib-GIO-WARNING **: 16:04:53.464: Your application does not implement g_application_activate() and has no handlers connected to the 'activate' signal.  It should do one of these.
Updating fileinfos for key: [1] - Selection_002.png

(shutter:3640824): Gtk-CRITICAL **: 16:04:53.600: gtk_drag_source_set_icon_pixbuf: assertion 'site != NULL' failed
Updating fileinfos for key: [2] - tail -f ~-.awesome-errors _001.png

(shutter:3640824): Gtk-CRITICAL **: 16:04:53.631: gtk_drag_source_set_icon_pixbuf: assertion 'site != NULL' failed
Updating fileinfos for key: [3] - tail -f ~-.awesome-errors _002.png
 
(shutter:3640824): Gtk-CRITICAL **: 16:04:53.659: gtk_drag_source_set_icon_pixbuf: assertion 'site != NULL' failed
Updating fileinfos for key: [4] - tmux -L taot a -d_001.png

(shutter:3640824): Gtk-CRITICAL **: 16:04:53.740: gtk_drag_source_set_icon_pixbuf: assertion 'site != NULL' failed
Updating fileinfos for key: [5] - tail -f ~-.awesome-errors _003.png

(shutter:3640824): Gtk-CRITICAL **: 16:04:53.760: gtk_drag_source_set_icon_pixbuf: assertion 'site != NULL' failed
Updating fileinfos for key: [6] - Tooltip_001.png

(shutter:3640824): Gtk-CRITICAL **: 16:04:53.931: gtk_drag_source_set_icon_pixbuf: assertion 'site != NULL' failed

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

  1. add dummy 'activate' handler to app
  2. comment out DO-NOT-WORK drag icon for ImageView before any fix applied.

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