[k3b] [Bug 384750] Progress bars don't work when I save a project to an ISO file

Thomas Schmitt bugzilla_noreply at kde.org
Thu Dec 7 10:38:29 UTC 2017


https://bugs.kde.org/show_bug.cgi?id=384750

--- Comment #17 from Thomas Schmitt <scdbackup at gmx.net> ---
Hi,

> I changed "Formats" to en-US in KDE regional settings

(I wonder how it looks if you choose Inuit or Samaritan Aramaic.)

> progress bars are working now.

So the cheapest, but possibly incomplete, fix would be to replace commas
by decimal points in
  int K3b::MkisofsHandler::parseMkisofsProgress( const QString& line )
of libk3b/projects/datacd/k3bmkisofshandler.cpp before interpreting the
number by
    double p = perStr.toDouble( &ok );

If one wants to prepare for xorrisofs, then one should submit to the
converter function .toDouble() the text beginning at its first digit or
decimal point.

A complete solution for mkisofs would be either to decode numbers with i18n 
in mind, or to prevent i18n of mkisofs. The latter seems to be the better 
solution in respect to preventing other i18n surprises and in order to keep 
the debugging output of mkisofs readable for international developers.

Have a nice day :)

Thomas

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the k3b mailing list