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 209328 - Usability problems of "Show All Change Paths" option
Summary: Usability problems of "Show All Change Paths" option
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-08 13:59 UTC by Jiri Kovalsky
Modified: 2012-03-20 12:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
All change paths shown in spite of unchecked option. (120.15 KB, image/png)
2012-03-08 13:59 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2012-03-08 13:59:59 UTC
Created attachment 116474 [details]
All change paths shown in spite of unchecked option.

Product Version: NetBeans IDE Dev (Build 201203071105)
Java: 1.6.0_31; Java HotSpot(TM) Client VM 20.6-b01
System: Linux version 3.0.0-12-generic running on i386; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev
Cache directory: /home/cesilko/.cache/netbeans/dev

Description:
============
Firstly, "Show All Change Paths" option does not display/hide all affected files on "Diff" tab as it only works on "Summary" tab. Secondly, if user clicks "Show all files" link to see all files and then changes his mind, the "Show All Change Paths" option does no longer work. See attached screenshot.

Steps to reproduce:
===================
1. Open some Mercurial versioned project.
2. Select some file which was changed in the past together with few more files in one commit/push/etc.
3. Right click it and choose "History > Show History" from its popup menu.
4. Click "Search Mercurial History >" link from the History toolbar.
5. Switch to "Diff" tab and expand some revision node. Although you don't have "Show All Change Paths" option checked, you will see more entries except the desired file.
6. Switch back to "Summary" tab and expand some revision.
7. Click "Show all files" link to see all files changed in this revision.
8. Now check and then uncheck "Show All Change Paths" option. All changed files are still visible.
Comment 1 Ondrej Vrabec 2012-03-08 14:49:01 UTC
> Firstly, "Show All Change Paths" option does not display/hide all affected
> files on "Diff" tab as it only works on "Summary" tab.
Right, that was the intention. I'll disable the checkbox for the Diff view
> 7. Click "Show all files" link to see all files changed in this revision.
> 8. Now check and then uncheck "Show All Change Paths" option. All changed files
> are still visible.
They are because you previously clicked on "Show all files" - you deliberately chose to display all files. The checkbox does not and should not affect such revisions. However it may be desirable to offer something like "Show Less Files" (the opposite to "Show all files")
Comment 2 Jiri Kovalsky 2012-03-08 16:05:16 UTC
Great, that would be less confusing.
Comment 3 Ondrej Vrabec 2012-03-16 15:53:07 UTC
http://hg.netbeans.org/core-main/rev/6e5bfe4d8a59
fixed the way suggested in comment #1
Comment 4 Quality Engineering 2012-03-20 12:54:23 UTC
Integrated into 'main-golden', will be available in build *201203200400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6e5bfe4d8a59
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #209328 - Usability problems of "Show All Change Paths" option