-
-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Brief summary of issue
The ImageView package has limited minimum value to 0.001 for property 'zoom' , which is not enough for modern 2k/4k/8k display.
Steps to reproduce the issue
- start shutter
- take a window screenshot (height > 700 pixels)
Error output
GLib-GObject-CRITICAL **: value "0.000581" of type 'gfloat' is invalid or out of range for property 'zoom' of type 'gfloat' at /usr/lib64/perl5/vendor_perl/5.40/Gtk3/ImageView.pm line 406.
Gtk3::ImageView::_set_zoom(Gtk3::ImageView=HASH(0x5575ac545558), 0.000581395348837209) called at /usr/lib64/perl5/vendor_perl/5.40/Gtk3/ImageView.pm line 455
Gtk3::ImageView::_set_zoom_with_center(Gtk3::ImageView=HASH(0x5575ac545558), 0.000581395348837209, 860, 708) called at /usr/lib64/perl5/vendor_perl/5.40/Gtk3/ImageView.pm line 500
Gtk3::ImageView::zoom_to_box(Gtk3::ImageView=HASH(0x5575ac545558), HASH(0x5575ac548060)) called at /usr/lib64/perl5/vendor_perl/5.40/Gtk3/ImageView.pm line 478 Gtk3::ImageView::set_zoom_to_fit(Gtk3::ImageView=HASH(0x5575ac545558), 1, 1) called at /usr/lib64/perl5/vendor_perl/5.40/Gtk3/ImageView.pm line 538
Gtk3::ImageView::set_fitting(Gtk3::ImageView=HASH(0x5575ac545558), 1) called at /usr/bin/shutter line 6642
Shutter::App::fct_take_screenshot(Gtk3::ImageMenuItem=HASH(0x5575ac149a50), "shutter_window_direct12582926", undef, undef) called at /usr/bin/shutter line 3164
Shutter::App::__ANON__() called at /usr/lib64/perl5/vendor_perl/5.40/x86_64-linux/Glib/Object/Introspection.pm line 67 eval {...} called at /usr/lib64/perl5/vendor_perl/5.40/x86_64-linux/Glib/Object/Introspection.pm line 67
Glib::Object::Introspection::__ANON__(Shutter::App=HASH(0x5575a8e7c970)) called at /usr/bin/shutter line 11110
Extra information, such as Shutter version, display server in use (Xorg or Wayland), operating system and ideas for how to solve:
To fix the CRITICAL message, override the 'zoom' property with lower minimum value
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working