Bug 465675 - kompare version 22.12.2
Summary: kompare version 22.12.2
Status: RESOLVED NOT A BUG
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-13 17:02 UTC by Steve Riches
Modified: 2023-02-14 19:16 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
two simple files: one is txt from kwrite and the other is .doc from libre (32 bytes, text/plain)
2023-02-13 17:02 UTC, Steve Riches
Details
attachment-1825261-0.html (1.92 KB, text/html)
2023-02-14 19:16 UTC, Steve Riches
Details

Note You need to log in before you can comment on or make changes to this bug.
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.