Thanks for this fix!!! https://bugs.launchpad.net/shutter/+bug/731874/comments/14
It works for me even on: shutter 0.94.3 Rev.1306 Fedora release 31 (Thirty One) Sun 17 May 2020 02:22:58 PM CDT
vim /bin/shutter 326 #send $cmdid 327 if ( defined $cmdid && defined $extra ) { 328 if (!$extra) { 329 ###Quick fix to avoid segmentation fault in some environments. 330 $extra = "text=>null"; 331 } 332 $app->send_message( $cmdid, text => $extra ); 333 } ... 495 else {### 496 #my $arg = defined $message->get ? $message->get_text : ""; 497 #&evt_take_screenshot( 'global_keybinding', $cmd, undef, $arg ); 498 my $extra = $message->get_text; 499 if ( $extra eq "text=>null" ) { 500 $extra = ''; 501 } 502 &evt_take_screenshot( 'global_keybinding', $cmd, undef, $extra ); 503 } 504 }
Thanks for this fix!!! /bugs.launchpad .net/shutter/ +bug/731874/ comments/ 14
https:/
It works for me even on:
shutter 0.94.3 Rev.1306
Fedora release 31 (Thirty One)
Sun 17 May 2020 02:22:58 PM CDT
vim /bin/shutter screenshot( 'global_ keybinding' , $cmd, undef, $arg ); screenshot( 'global_ keybinding' , $cmd, undef, $extra );
326 #send $cmdid
327 if ( defined $cmdid && defined $extra ) {
328 if (!$extra) {
329 ###Quick fix to avoid segmentation fault in some environments.
330 $extra = "text=>null";
331 }
332 $app->send_message( $cmdid, text => $extra );
333 }
...
495 else {###
496 #my $arg = defined $message->get ? $message->get_text : "";
497 #&evt_take_
498 my $extra = $message->get_text;
499 if ( $extra eq "text=>null" ) {
500 $extra = '';
501 }
502 &evt_take_
503 }
504 }