| Summary: | drag 'n drop file with utf-8 in name or path | ||
|---|---|---|---|
| Product: | [Unmaintained] kdeprint | Reporter: | Bruno Friedmann <bruno> |
| Component: | general | Assignee: | KDEPrint Devel Mailinglist <kde-print-bugs-null> |
| Status: | CLOSED FIXED | ||
| Severity: | normal | CC: | jlayt, l.lunak |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Bruno Friedmann
2006-10-06 10:54:58 UTC
Ok for the changing from crash to normal, but it's crashing ... you've got a knotify box, and the print doesn't come out ... It's really a crash .. there's no way to bypass this without changing all path and filename which is not a real solution doesn't it ? With lastest KDE 3.5.5 "release 19.1" always the same annoying crashing bug. Could someone have a look to this, before it goes into 4.x branch ? SVN commit 601573 by lunakl:
Do not encode the filenames manually, KProcess:operator<<(const QString&)
does it.
BUG: 135186
M +2 -2 kprinterimpl.cpp
--- branches/KDE/3.5/kdelibs/kdeprint/kprinterimpl.cpp #601572:601573
@@ -257,8 +257,8 @@
for (QStringList::ConstIterator it=files.begin(); it!=files.end(); ++it)
if (QFile::exists(*it))
{
- // quote and encode filenames
- filestr.append(quote(QFile::encodeName(*it))).append(" ");
+ // quote filenames
+ filestr.append(quote(*it)).append(" ");
printfiles.append(*it);
}
else
Closing old Resolved status bug. |