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 209835 - Lost scope for "Find" in folder
Summary: Lost scope for "Find" in folder
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.2
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-21 09:22 UTC by Peter Nabbefeld
Modified: 2012-03-24 11:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (22.99 KB, image/jpeg)
2012-03-22 06:58 UTC, Peter Nabbefeld
Details
Log file (374.27 KB, text/plain)
2012-03-23 09:58 UTC, Peter Nabbefeld
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Nabbefeld 2012-03-21 09:22:13 UTC
"Find" action no longer has the folder scope:
- Opened a folder by dragging it into NB IDE.
- Tried to search the folder.
- Instead of presenting the folder for searching, I have to browse.
Comment 1 Jaroslav Havlin 2012-03-21 16:24:23 UTC
I'm sorry, I cannot reproduce it.

- How did you try to search the folder? From context menu of the folder,
  or main menu, or keyboard shortcut?
- Was there scope "Selection" in the list of scopes, or "Browse" was the only one?
- Did you have any opened projects?

Thank you.
Comment 2 Peter Nabbefeld 2012-03-22 06:57:42 UTC
(In reply to comment #1)
> I'm sorry, I cannot reproduce it.
> 
> - How did you try to search the folder? From context menu of the folder,
>   or main menu, or keyboard shortcut?
Using context menu of the folder

> - Was there scope "Selection" in the list of scopes, or "Browse" was the only
> one?
Only "Browse"

> - Did you have any opened projects?
> 
Many, of different type. But none of them contained the dragged folder.

> Thank you.
Comment 3 Peter Nabbefeld 2012-03-22 06:58:24 UTC
Created attachment 117048 [details]
Screenshot
Comment 4 Jaroslav Havlin 2012-03-23 09:37:27 UTC
Unfortunately, still cannot reproduce.
Can you please check whether module org.netbeans.modules.utilities.project is loaded? (List of loaded modules is in your IDE Log). Or could you attach the IDE Log?
Comment 5 Peter Nabbefeld 2012-03-23 09:58:40 UTC
Created attachment 117147 [details]
Log file

The module version installed seems to be relatively old:
org.netbeans.modules.utilities.project/1 [1.22 201202010600]

I've also noticed at some time (cannot currently reproduce), NB still seems to have some problems with spaces in file URIs, so probably the Find problem is caused by this. Next time I get an URI problem, I'll send the exception - shall I Put You into CC then?

BTW, using a daily build which is updated nearly every day, sometimes even multiple. Using WXp, my NB projects all exist in my user's home dir.
Comment 6 Jaroslav Havlin 2012-03-23 10:47:52 UTC
http://hg.netbeans.org/core-main/rev/f60d2fb21277

> The module version installed seems to be relatively old:
> org.netbeans.modules.utilities.project/1 [1.22 201202010600]
That is the problem. Thank you very much.
Increasing specification version, so that the module can be updated.

> I've also noticed at some time (cannot currently reproduce), NB still seems to
> have some problems with spaces in file URIs, so probably the Find problem is
> caused by this. Next time I get an URI problem, I'll send the exception - shall
> I Put You into CC then?
If the problem is related to searching - yes, please. Otherwise it is not necessary, as file URIs are not usually used during searching.

Thank you.
Comment 7 Quality Engineering 2012-03-24 11:04:27 UTC
Integrated into 'main-golden', will be available in build *201203240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f60d2fb21277
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #209835 - Increase spec. version of utilities.project