Summary
In Orion RC browser, the "Close Tab" option is missing from the context (right-click) menu specifically when right-clicking on the bottommost tab in the tab sidebar. This creates an inconsistent user experience when managing tabs positioned at the bottom of the tab list.

Steps to Reproduce
- Launch Orion RC browser
- Open multiple tabs to create a vertical stack in the sidebar
- Right-click on the bottommost tab in the sidebar
- Observe the context menu options
Actual Behavior
The "Close Tab" option is missing from the context menu when right-clicking specifically on the bottommost tab. All other tabs in the sidebar display the "Close Tab" option in their context menus as expected.
Expected Behavior
The "Close Tab" option should appear in the context menu when right-clicking on the bottommost tab, consistent with the behavior for all other tabs in the sidebar.
Impact
This inconsistency creates confusion for users who rely on context menus for tab management and disrupts workflow when working with tabs positioned at the bottom of the sidebar. Users must resort to alternative methods (clicking the X button or using keyboard shortcuts) to close the bottommost tab, or rearrange tabs to move the target tab from the bottommost position.
Visual Evidence
The attached screenshot shows the context menu that appears when right-clicking on the bottommost tab in the sidebar. As visible in the image, common options like "Bookmark Tab," "Duplicate Tab," and "Copy Link" appear, but the "Close Tab" option is noticeably absent from the menu. This contrasts with the context menu for other tabs in the sidebar, where "Close Tab" is consistently available as a standard option.
Additional Information
- This behavior is consistent regardless of the content displayed in the bottommost tab
- The issue persists even after browser restart
- The problem affects only the tab that is currently positioned at the bottom of the tab list
- Moving a different tab to the bottommost position will cause it to also lack the "Close Tab" option
Possible Causes
- Special handling of the bottommost tab position in the context menu generation code
- Edge case in the tab hierarchy management that affects menu item availability
- Possible conditional logic that incorrectly excludes the "Close Tab" option for the last tab in the list
Suggested Fix
Update the tab context menu generation logic to ensure the "Close Tab" option is consistently available for all tabs regardless of their position in the tab sidebar, including the bottommost position.
Configuration
- Browser: Orion Browser
- Version: 0.99.133.1-rc (WebKit 619.1.11.111.2)
- Operating System: macOS Ventura 13.4 (22F66)
- Language Setting: Russian
- Issue Type: UI
Orion RC 0.99.133.1-rc (WebKit 619.1.11.111.2); Apple macOS Ventura 13.4 (22F66)
Ventura (13)