Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 131469 - [CommonNavigator][Java] "Package Presentation" action sometimes has wrong mode
Summary: [CommonNavigator][Java] "Package Presentation" action sometimes has wrong mode
Status: RESOLVED DUPLICATE of bug 135565
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael D. Elder CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 131470 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-12 17:07 EST by Michael D. Elder CLA
Modified: 2006-04-07 11:12 EDT (History)
1 user (show)

See Also:


Attachments
A patch to fix the package presentation persistance from session to session. (7.04 KB, patch)
2006-03-29 16:51 EST, Michael D. Elder CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael D. Elder CLA 2006-03-12 17:07:13 EST
In the Java extension, the drop down menu action "Package Presentation" does not contribute itself until the context menu appears, and then does not have the right toggle state. 

In the original JDT patch, this behavior seemed to be working correctly. Were there modifications to this component?
Comment 1 Markus Keller CLA 2006-03-13 04:00:48 EST
*** Bug 131470 has been marked as a duplicate of this bug. ***
Comment 2 Markus Keller CLA 2006-03-13 04:16:54 EST
I'm not aware of any changes in JDT-land that could have caused this. I've commented out the unused field fViewActionGroup in PackageExplorerActionProvider (bug 129348), but there were no other changes in jdt.internal.ui.navigator.

AFAICS, the changes to other parts of the Package Explorer should not have any influence on the presentation actions.
Comment 3 Michael D. Elder CLA 2006-03-13 09:55:42 EST
Okay. I'll take a look at this issue from the JDT code and head and see what went wrong. Thx.
Comment 4 Michael D. Elder CLA 2006-03-29 16:51:12 EST
Created attachment 37249 [details]
A patch to fix the package presentation persistance from session to session.
Comment 5 Michael D. Elder CLA 2006-04-07 11:12:17 EDT
Fixed with the patch for bug 135565.

*** This bug has been marked as a duplicate of 135565 ***