Bug 320569 - Untouched text higlighted as 'Difference'; dos vs. unix end-of-line and ' '
Summary: Untouched text higlighted as 'Difference'; dos vs. unix end-of-line and ' '
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 4.0   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: consistency, usability
: 320566 320567 320568 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-21 18:51 EDT by Rostislav Svoboda CLA
Modified: 2021-10-21 11:31 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rostislav Svoboda CLA 2010-07-21 18:51:45 EDT
Build Identifier: Helios and Galileo

A part of text is incorrectly highlighted as changed even when 'Ignore white spaces' is toggled.
It seems like the bug appears only when both conditions are fulfilled:
- there is a space character present between some non-empty characters
- the files have different end-of-line encoding

Reproducible: Always

Steps to Reproduce:
1. Create files x.properties, y.properties 
x.properties:
AAA=
BBB=a a

y.properties:
AAA=a a
BBB=

2. set end-of-line encoding (on the command line)
dos2unix y.properties
unix2dos x.properties

3. Switch on the "Show whitespace characters"

4. "compare each other": x.properties and y.properties

5. 'BBB=' is incorrectly highlighted as changed
Comment 1 Tomasz Zarna CLA 2010-07-22 08:33:01 EDT
*** Bug 320566 has been marked as a duplicate of this bug. ***
Comment 2 Tomasz Zarna CLA 2010-07-22 08:33:15 EDT
*** Bug 320567 has been marked as a duplicate of this bug. ***
Comment 3 Tomasz Zarna CLA 2010-07-22 08:33:24 EDT
*** Bug 320568 has been marked as a duplicate of this bug. ***
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:04:37 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 5 Eclipse Genie CLA 2021-10-21 11:31:49 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.