This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 253626 - Undo does not refresh the Mercurial and changed status in editor tab
Summary: Undo does not refresh the Mercurial and changed status in editor tab
Status: RESOLVED INVALID
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-21 17:58 UTC by ulfzibis
Modified: 2015-07-25 11:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2015-07-21 17:58:48 UTC
[ JDK VERSION : 1.7.0_67 ]

I experienced this behaviour in 8.0.2
STEPS:
- do some change in a Java file
- commit this change to repository
- do some other changes
- undo the last changes, so the blue marker in the left editor column
disappears

ACTUAL:
The tab of the file remains still in blue and bold !!

EXPECTED:
The tab of the file should revert to black and unbold

If I hit the Refresh button in bottom Mercurial window
--> the tab of the file becomes "repaired" to black and unbold
Comment 1 Ondrej Vrabec 2015-07-25 11:18:42 UTC
> ACTUAL:
> The tab of the file remains still in blue and bold !!
Sure, it's bold because it's unsaved. And because it's not saved, mercurial status is not refreshed. I do not see any problem here.