Bug 465675

Summary: kompare version 22.12.2
Product: [Applications] kompare Reporter: Steve Riches <sriches74>
Component: generalAssignee: Kompare developers <kompare-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: two simple files: one is txt from kwrite and the other is .doc from libre
attachment-1825261-0.html

Description Steve Riches 2023-02-13 17:02:07 UTC
Created attachment 156195 [details]
two simple files: one is txt from kwrite and the other is .doc from libre

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Run Kompare: compare.txt vs compare.doc
2. 
3. 

OBSERVED RESULT
Could not parse diff output

EXPECTED RESULT
I expected to be shown the way libre expresses quotations vs the way kwrite expresses quotations

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 37
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Kevin Kofler 2023-02-13 18:28:18 UTC
.doc files are binary files and cannot be compared with Kompare. The error message is by design.

.docx and .odt files are also binary files because they are compressed. You can try using a flat .odtf, which is uncompressed XML, but the diff between a text file and the ODT flat XML will also be mostly useless because all lines will be different.
Comment 2 Steve Riches 2023-02-14 19:16:44 UTC
Created attachment 156241 [details]
attachment-1825261-0.html

OK I just opened compare.doc with Kwrite and can see tons of control
characters - not exactly binary - but I hear you.  You must get a lot of
reports like mine.  I would suggest modifying that terse message I received
when running Kompare to say something like your own msg to me or comparing
apples to oranges or something like that.
Thanks for your response.
Steve

On Mon, Feb 13, 2023 at 1:28 PM Kevin Kofler <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=465675
>
> Kevin Kofler <kevin.kofler@chello.at> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|REPORTED                    |RESOLVED
>          Resolution|---                         |NOT A BUG
>
> --- Comment #1 from Kevin Kofler <kevin.kofler@chello.at> ---
> .doc files are binary files and cannot be compared with Kompare. The error
> message is by design.
>
> .docx and .odt files are also binary files because they are compressed.
> You can
> try using a flat .odtf, which is uncompressed XML, but the diff between a
> text
> file and the ODT flat XML will also be mostly useless because all lines
> will be
> different.
>
> --
> You are receiving this mail because:
> You reported the bug.