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

Toni Asensi Esteve <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/krusader/-/commit/577
                   |                            |693a349da0063443d98b24ccf77
                   |                            |83d090d188

--- Comment #5 from Toni Asensi Esteve <[email protected]> ---
Git commit 577693a349da0063443d98b24ccf7783d090d188 by Toni Asensi Esteve.
Committed on 12/08/2026 at 23:16.
Pushed by asensi into branch 'master'.

Solve the problem of not reading files inside 'rpm' archives. Credits go to
Martin Naď.

On <https://bugs.kde.org/show_bug.cgi?id=516617#c0>, Martin Naď wrote that
"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".

After removing that `proc.setTextModeEnabled(false);` line and the
`localeEncodedString()` function, in the tests that were made:
- Krusader was able to read files inside 'rpm' archives and copy those files.
- Krusader was able to process other kinds of archives as it did before.

FIXED: [ 516617 ] Cannot read or copy individual files from within .rpm
archives (krarc / KIO IPC error)

Revision: https://invent.kde.org/utilities/krusader/-/merge_requests/180

M  +6    -28   plugins/krarc/krarc.cpp
M  +0    -1    plugins/krarc/krarc.h

https://invent.kde.org/utilities/krusader/-/commit/577693a349da0063443d98b24ccf7783d090d188

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to