https://bugs.kde.org/show_bug.cgi?id=468142

            Bug ID: 468142
           Summary: Okular tools menu: align expanded options to the right
    Classification: Applications
           Product: okular
           Version: 22.12.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-de...@kde.org
          Reporter: tinozzo...@tutanota.com
  Target Milestone: ---

Created attachment 157845
  --> https://bugs.kde.org/attachment.cgi?id=157845&action=edit
How the tool manu is now, and mockup on how it should be fixed.

SUMMARY
When Okular's window width is too small, the tools that can't fit in the tools
menu are replaced by a button that expands the menu vertically to allow you to
use them.
This button is on the right side of the tools menu. However, the tools shown
after clicking on it are aligned to the left. This makes it cumbersome to use
these tools.
It doesn't help that if the mouse cursor is moved outside the tools menu, the
menu will automatically collapse: basically, the user has to click a button on
the right side of the UI, and move the cursor to the left with precision. This
is not good UX.

It's particularly noticeable with the Zoom tool: the window width might make
"Zoom Out" visible and "Zoom In" hidden. When expanding the tools menu, you get
the "Zoom Out" button on the right, and the "Zoom In" button on the left: they
are on the opposite sides of the UI.

STEPS TO REPRODUCE
1. Open Okular
2. Reduce the window width so that "Zoom In" is hidden
3. Expand the tools menu

OBSERVED RESULT
"Zoom Out" and "Zoom In" are on the opposite sides of the UI

EXPECTED RESULT
"Zoom In" should be aligned to the right, so that these buttons are close.
(Same with every other button hidden by the short window width)

SOFTWARE/OS VERSIONS
Linux: NixOS 23.05
(available in About System)
Operating System: NixOS 23.05
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Graphics Platform: Wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to