Bug 92894 - [ViewMgmt] Show View doesnt support sub-categories (populated parentCategory in plugin.xml)
Summary: [ViewMgmt] Show View doesnt support sub-categories (populated parentCategory ...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P5 normal with 8 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2005-04-27 07:05 EDT by Andy Brook CLA
Modified: 2019-11-14 04:22 EST (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Brook CLA 2005-04-27 07:05:46 EDT
I want to have a two-level category:

GroupCat/
  subCat1/view1
  subCat2/view1

The XML seems to support this through parentCategory, but I can only get this to
work for 'top level' categroies with empt 'parentCategory'.  If I try and use
the 'parentCategory' of subCat1 pointing to GroupCat, and link my view to
subCat1, it just gets listed under 'Other', not GroupCat/subCat as expected.

So views can only be listed one level deep, which I think is a bug.  Im using 3.1M6.
Comment 1 Nick Edgar CLA 2006-03-15 13:28:04 EST
Reassigning bugs in component areas that are changing ownership.
Comment 2 Eddie Galvez CLA 2007-04-13 17:11:04 EDT
This may be a dupe of bug #84170.

Does this issue have ownership? Basically, the api doc is just wrong and many may spend hours trying to get it to work "fully qualified ids? leading slash? what am I doing wrong!".

Or, I'm mistaken, the feature is implemented but add me to the list of those who just can't get sub-categories for views!
Comment 3 Boris Bokowski CLA 2007-04-13 17:25:35 EDT
(In reply to comment #2)
> Does this issue have ownership?

Yes, I as the assignee own this issue.  We don't have plans to work on this though.  Why is it important to have more than one level of categories?

I can only guess, but my take on this would be that the schema was designed to be extensible to multi-level categories in the future, but that the implementation of the Show View dialog only uses one level to simplify the UI.  It is not clear to me if the additional UI complexity of multiple levels can be justified by what you gain when having more fine-grained categories.  This is even more true now that the Show View dialog has a filtered tree.
Comment 4 Philipp Kursawe CLA 2009-03-28 16:57:43 EDT
The API docs should be updated then. I just ran again in this bug and took me half an hour to find out whats wrong. I agree that the filtered view list does not need multiple levels. But you should not be able to have the parentCategory anymore in the UI then.
Comment 5 niv0 - CLA 2009-06-03 08:29:04 EDT
(In reply to comment #3)
> ...Why is it important to have more than one level of categories?

Please note that this also effects the "New Project wizard".
The wizard supports subcategories but "Show view" does not. Both should work in sync.

Btw: if the views category path is specified with slashes (as suggested within the doc), a annoying warning appears: "Reference identifier cat1/cat2 cannot be found".
Comment 6 Boris Bokowski CLA 2009-11-11 17:31:48 EST
Remy is now responsible for watching the [ViewMgmt] category.
Comment 7 Lars Vogel CLA 2019-11-14 03:39:06 EST
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.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.