View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002120 | Scribus | Graphics / Image Frames | public | 2005-06-24 04:00 | 2005-07-02 08:15 |
Reporter | fschmid | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.3.0cvs | ||||
Fixed in Version | 1.2.2cvs | ||||
Summary | 0002120: Some sort of jpeg images can't be loaded | ||||
Description | Some sort of jpeg images can't be loaded | ||||
Tags | No tags attached. | ||||
Patch | |||||
2005-06-24 04:00
|
|
|
Works ok here. |
|
They won't load at all here; the image frame retains it's X. |
|
Only solution is currently to remove the german umlaut ä in the filename, eg. if you rename it to flaeche_farbig_2004.jpg it loads perfectly. |
|
Works ok here in 1.2.2 and 1.3.0 WITH the umlaut. What are you not seeing working? Import to the page, export to PDF? or? |
|
>Only solution is currently to remove the german umlaut ä in the filename, eg. if > you rename it to flaeche_farbig_2004.jpg it loads perfectly. Same here and it won't even display in the file selector preview. If you try to print preview the file, the preflight tool shows missing image. |
|
File selector preview works here with umlaut. |
|
The image is originated from a Fedora Core 3 or 4 distro, and on SuSE 9.1 the umlaut is somewhat incorrectly converted. You see only two empty squares for the umlaut in Konquerer. |
|
Sounds like an encoding handling bug in the file loading routines to me. We're probably treating an incoming utf-8 filename as latin-1. If I set my locale to: LANG=C LC_ALL=C it works; with default UTF-8 encoding it does not. I'll look for it, since I have some experience with this stuff. |
|
We're not telling Qt to respect the local text encoding. By default, it does QString<->byte string conversions by *assuming* that the incoming text is latin-1. If your locale is `de_DE', `en_US', `en_AU' etc, that's fine. If, however, you use a UTF-8 locale, or a different text encoding, you'll get weird mangling of some text. Qt provides QString::fromLocal8Bit(...) and QString::local8Bit() so we can be explicit about these conversions. We don't use them, and instead in most places seem to assume the user is in a UTF-8 locale, or just hope they aren't trying to use any 8-bit characters. In other places, we explicitly use QTextCodec to convert to/from local 8 bit text. After 1.3.0 is released, I think we need to change this so that we default to doing 8-bit string I/O in the encoding of the current locale. That change will only affect places where the code already does the wrong thing, and should cause those places to work correctly. Until we do that, you need to remember never to implicitly convert a QString to a char* - always use .local8Bit() . |
|
backported to 1.2.2cvs |
|
now fixed in 1.3 |
|
tested on suse 9.2 and 9.1. works fine now |
Date Modified | Username | Field | Change |
---|---|---|---|
2005-06-24 04:00 | fschmid | New Issue | |
2005-06-24 04:00 | fschmid | File Added: Fläche_farbig_2004.jpg | |
2005-06-24 20:35 | cbradney | Note Added: 0005115 | |
2005-06-25 03:28 |
|
Note Added: 0005119 | |
2005-06-25 03:29 |
|
Note Edited: 0005119 | |
2005-06-29 17:36 | fschmid | Note Added: 0005230 | |
2005-06-29 17:42 | cbradney | Note Added: 0005231 | |
2005-06-29 18:17 |
|
Note Added: 0005232 | |
2005-06-29 18:19 | cbradney | Note Added: 0005233 | |
2005-06-29 21:38 | fschmid | Note Added: 0005243 | |
2005-06-30 00:18 |
|
Note Added: 0005244 | |
2005-06-30 00:19 |
|
Status | new => assigned |
2005-06-30 00:19 |
|
Assigned To | => ringerc |
2005-07-02 07:18 |
|
Note Added: 0005324 | |
2005-07-02 07:37 |
|
Status | assigned => resolved |
2005-07-02 07:37 |
|
Fixed in Version | => 1.3.0cvs |
2005-07-02 07:37 |
|
Resolution | open => fixed |
2005-07-02 07:46 |
|
Note Added: 0005327 | |
2005-07-02 07:46 |
|
Fixed in Version | 1.3.0cvs => 1.2.2cvs |
2005-07-02 07:48 |
|
Note Added: 0005328 | |
2005-07-02 07:56 |
|
Relationship added | related to 0000349 |
2005-07-02 08:15 |
|
Note Added: 0005329 | |
2005-07-02 08:15 |
|
Status | resolved => closed |
2005-07-10 03:01 |
|
Relationship added | child of 0002215 |
2015-09-17 20:10 | Kunda | Category | Graphics / Image Frames => Graphics/Img Frames |
2015-09-17 20:11 | Kunda | Category | Graphics/Img Frames => Graphics / Image Frames |