[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 09:49:41 UTC 2017


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

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

>   0,08% done, estimate finish Thu Dec  7 07:05:20 2017

I guess the comma instead of the decimal point is to blame.
It probably stems from internationalization (i18n) which could be a new
feature in mkisofs-3.x.

One could test the theory by testing whether

   QString perStr = "0,08";
   bool ok;

   double p = perStr.toDouble( &ok );

yields (ok == false) or 0.0 as resulting number.
(Sorry, i don't have enough KDE/Qt for testing this.)

The reverse test could be to set the environment for english language
before starting K3B:

  export LANGUAGE=en_US:en
  /usr/bin/k3b

mkisofs should then emit decimal points rather than commas.
I assume that mkisofs uses GNU gettext which would use that variable.
See
https://www.gnu.org/software/gettext/manual/html_node/Locale-Environment-Variables.html


If the theory is right, then K3B needs internationalization for its own
number decoding, or it needs to set mkisofs to english language and number
formats.
(xorriso is intentionally not using i18n. It is painful to analyse the
 output of the own program when all words are replaced by a language which
 i do not know.)

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