Bug 461369

Summary: Green and red diff icons do not update on refresh if file changes to no differences
Product: [Applications] kdiff3 Reporter: David Newcomb <david.newcomb>
Component: applicationAssignee: michael <reeves.87>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 1.9.6   
Target Milestone: ---   
Platform: Homebrew (macOS)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Newcomb 2022-11-03 17:25:55 UTC
Diff indicators do not get refreshed if file changes from differences to no differences or from no differences to differences.


STEPS TO REPRODUCE
1. mkdir d1 d2 ; echo hi > d1/f ; touch d2/f
2. run kdiff3 with 2 directories: kdiff3 d1 d2
3. f shows green + red icons
4. double click f and see differences below
5. echo hi > d2/f
6. File -> reload
7. below panel pop up "File A and B are binary equal"
8. Click ok

OBSERVED RESULT

f still shows green and red icons. Restart kdiff3 and colours are correct.

EXPECTED RESULT

f show change to green + green

SOFTWARE/OS VERSIONS
Windows: 
macOS: 12.5 (21G72) Monterey
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

This also does not work in reverse. If a file starts the same and is then made different, it does not change its icons to green + red as it should.