[haiku-bugs] [Haiku] #14930: Icon-O-Matic bugs when exporting to png set

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 26 Feb 2019 08:19:07 -0000

#14930: Icon-O-Matic bugs when exporting to png set
---------------------------------------+------------------------------
 Reporter:  MarshallBanana             |        Owner:  stippi
     Type:  bug                        |       Status:  new
 Priority:  normal                     |    Milestone:  Unscheduled
Component:  Applications/Icon-O-Matic  |      Version:  R1/Development
 Keywords:                             |   Blocked By:
 Blocking:                             |  Has a Patch:  1
 Platform:  All                        |
---------------------------------------+------------------------------
 1: If I want to save the png exports to the same directory, I’m asked if I
 want to overwrite the original, but the export files are supposed to have
 different filenames (''MyIcon'' becomes ''MyIcon_{64|16|32}.png'').
 Confirming this will not overwrite the original file at all.

 2: If the filename is too long, it will be truncated without appending the
 proper extension, resulting in the exported filenames all being the same.
 So Instead of ''LONGNAME'' being saved to ''TRUNCATED_{64|16|32}.png''
 there is only 1 file with a truncated name. The issue is in the file
 src/apps/icon-o-matic/document/savers/BitmapSetSaver.cpp.

 3: The buffer for the filename is set to the length B_OS_NAME_LENGTH, but
 it should be B_FILE_NAME_LENGTH. Can be ignored through if you use
 BString.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14930>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: