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

            Bug ID: 448519
           Summary: Height alignment in horizontal and vertical docks
           Product: lattedock
           Version: 0.10.7
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: mvourla...@gmail.com
          Reporter: sadiyumu...@gmail.com
  Target Milestone: ---

Created attachment 145487
  --> https://bugs.kde.org/attachment.cgi?id=145487&action=edit
Screenshots with right dock length 100-99-98%

SUMMARY
I'm not sure if this issue is a bug or improvement (feature?) request.
It seems latte-dock has an alignment problem whan the user prefers a
combination of horizontal (top and/or bottom) and vertical (left and/or right)
docks, which is presently assumed to work automatically I guess. Actually this
automatic alignment seems to work a bit but not fully.
For instance, I can adjust the height of my top dock/panel here:  (which is
currently set as 24px as the best possible option for me)
As for the height of my right dock/panel (sidebar): Edit Dock... > Appearance >
Length > Maximum (which is currently set as 98% as the best possible option for
me) 

STEPS TO REPRODUCE
1. Create a floating dock to sit at the top right corner of the screen edge
(Alignment: Right); add the System Tray widget; and set the height of the dock
as 24 px via: Edit Dock... > Appearance > Items > Absolute size (length doesn't
matter, although I have chosen 40% so that I can have a floating dock at the
center, displaying time and date etc., and another one at the top left,
displaying menu, window title and menu bar)
2. Create a floating dock to sit at the right edge of the screen (Alignment:
Justify); set the "Absolute size" of "Items" as 256 px; and add, for example,
Analog Clock,  Calculator, and Media Player widgets, from top to bottom
(Length: 100%)

OBSERVED RESULT
1. The top and bottom margins (padding?) of the top dock are not equal. It
seems the bottom margin is a bit excessive.
2. The top edge of the right dock (sidebar) overlaps with the bottom margin of
the top dock, probably because of the problem above (Changing the Length value
to 99% or 98% can somehow fix the overlap issue but it's not quite perfect)  

EXPECTED RESULT
Left/Right (vertical) docks/panels with Alignment set as Justify should have
their top edge next to the inner edges of  Top/Bottom (horizontal)
docks/panels.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION

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

Reply via email to