https://bugs.kde.org/show_bug.cgi?id=516617
Bug ID: 516617
Summary: [Qt6/KF6] Cannot read or copy individual files from
within .rpm archives (krarc / KIO IPC error)
Classification: Applications
Product: krusader
Version First 2.9.0
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: krarc
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Created attachment 190030
--> https://bugs.kde.org/attachment.cgi?id=190030&action=edit
tempomary Patch for bug in krarc
SUMMARY
STEPS TO REPRODUCE
1. Open Krusader (Qt6/KF6 version).
2. Navigate into an .rpm archive (the directory tree loads correctly via
krarc).
3. Try to view (F3) or copy a specific text file from inside the archive to a
local drive.
OBSERVED RESULT
The action fails. The file cannot be read or copied.
When trying to read the file, the terminal outputs:
19:34:11.692-warning kf.kio.workers.file unknown@0 # readData() returned -1
19:34:11.692-warning kf.kio.core unknown@0 # Connection::send() called with
connection not inited
EXPECTED RESULT
The file is read/copied successfully (worked perfectly in Qt5/KF5).
SOFTWARE/OS VERSIONS
Windows:
macOS:
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma:
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
https://bugzilla.redhat.com/show_bug.cgi?id=2354310
Calling proc.setTextModeEnabled(false); before the process starts triggers a
'Device is not open' error and breaks the KIO worker stream.
The custom localeEncodedString() hack using private unicode characters (0xE000)
completely breaks the cpio command in Qt6. Bypassing it (e.g., returning the
string directly) instantly resolves the 'Access Denied' / 'readData() returned
-1' issue and allows reading and copying files from RPMs again.
--
You are receiving this mail because:
You are watching all bug changes.