#42 gpicview ask_before_save is ignored with LIBJPEG

closed-fixed
martyj19
None
5
2009-05-13
2008-07-16
Jeremy C. Reed
No

The ask before save option in gpicview-0.1.9 is ignored when built with LIBJPEG.

See src/main-win.c on_save() function where it does rotate_and_save_jpeg_lossless().

Destroys data when specifically not allowed.

The main_win_save() should be split up to do the "Do you want to overwrite existing file?" dialog to separate function -- and that should be used if pref.ask_before_save is TRUE.

Discussion

  • Jeremy C. Reed
    Jeremy C. Reed
    2008-07-16

    • summary: ask_before_save is ignored with LIBJPEG --> gpicview ask_before_save is ignored with LIBJPEG
     
  • martyj19
    martyj19
    2009-05-13

    • assigned_to: nobody --> martyj19
    • status: open --> closed-fixed
     
  • martyj19
    martyj19
    2009-05-13

    Fixed in SVN r1458