-
-
Notifications
You must be signed in to change notification settings - Fork 563
Open
Labels
type: imperfectionPerceived defect in any part of projectPerceived defect in any part of project
Description
Describe the problem
When a VS Code/Theia extension defines a custom viewsContainers with an Activity Bar icon, Arduino IDE automatically creates a top-level menu entry.
Clicking this menu hides the extension's view from the Activity Bar instead of showing a dropdown menu. There is no way for extension developers to:
- Prevent the menu from being created
- Control what happens when clicked
- Add menu items to the dropdown
To reproduce
Create a VS Code extension with a custom Activity Bar icon by adding this to package.json:
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "myextension-activitybar",
"title": "My Extension",
"icon": $(rocket)"
}
]
},
"views": {
"myextension-activitybar": [
{
"id": "myextension.view",
"name": "My Extension View"
}
]
}
}
Expected behavior
Click on the "My Extension" menu entry
Bug: The extension's Activity Bar icon and view disappear (view is hidden)
Arduino IDE version
2.3.6 & 2.3.7
Operating system
N/A, Linux
Operating system version
Linux Mint 64 Bit & Windows 11
Additional context
The problem appears to be inherent to how Eclipse Theia handles custom Activity Bar extensions.
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details
Metadata
Metadata
Assignees
Labels
type: imperfectionPerceived defect in any part of projectPerceived defect in any part of project