Skip to content

Packages submenu does not respect available screen height and cannot be scrolled under Hyprland/Wayland. #622

@keanehatescoding

Description

@keanehatescoding

Sorry for the ai generated issue, English is not my first language

Image

When using the tray icon and opening the Packages submenu, the package list grows beyond the available screen height when a sufficiently large number of updates are available.

Instead of constraining the submenu to the screen boundaries and providing a scrollbar (or another mechanism to access all entries), the submenu continues to grow off-screen. As a result, packages at the bottom of the list become inaccessible.

Environment

  • Distribution: Arch Linux
  • Desktop Environment: Hyprland
  • Bar: Waybar
  • Monitor Setup: Single monitor
  • Bar Position: Top of screen
  • arch-update: Latest version available in Arch repositories
  • Hyprland: Latest version available in Arch repositories

Steps to Reproduce

Ensure a large number of package updates are available (in my case, approximately 57 updates).

Start the tray application:

arch-update --tray
Right-click the tray icon.
Open the Packages submenu.

Expected Behavior

The submenu should respect the available screen space. Possible acceptable behaviors include:

Displaying a vertical scrollbar.
Limiting the submenu height and allowing scrolling.
Splitting the list into multiple columns.
Using another mechanism that allows access to all package entries.

All package entries should remain accessible regardless of the number of pending updates.

Actual Behavior

The submenu grows beyond the bottom edge of the screen and becomes partially inaccessible. No scrollbar is displayed, and there is no way to reach the package entries located at the bottom of the list.

Additional Information

When started on terminal the following errors are logged

arch-update --tray
QSystemTrayIcon::setVisible: No Icon set
xterm: cannot load font "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions