Offset should still work with Alignment=1, Alignment=2
Bug #1115992 reported by
CruelAngel
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Plank |
Triaged
|
Wishlist
|
Rico Tzschichholz |
Bug Description
I wish to position my dock at the top left corner, but just a tiny bit lower, so it won't overlap with my top panel.
I understand that with Alignment=3 and Offset=-97(or whatever depending on screen and dock size) one could position the dock there, but opening/closing new apps, will move the dock up-down since the new apps change the dock size.
Now that alignments are implemented, I suggest that if a corner alignment (Alignment=1, Alignment=2) is set the offset would work as a margin from the selected corner. With that one could easily set the desired position accurately.
Thanks.
ps. I use the plank build from the elementary daily ppa.
Related branches
lp:~docky-core/plank/respect-struts
- Docky Core: Pending requested
-
Diff: 415 lines (+242/-27)1 file modifiedlib/PositionManager.vala (+242/-27)
description: | updated |
summary: |
- Whislist: Offset should still work with Alignment=1, Alignment=2 + Offset should still work with Alignment=1, Alignment=2 |
Changed in plank: | |
importance: | Undecided → Wishlist |
Changed in plank: | |
status: | New → Triaged |
To post a comment you must log in.
To achieve this and keeping the current preferences we need to change the interpretation of the Offset value. So Offset will specify the unrestricted amount of pixels shifting the dock's position. The shift direction will depend on the currently selected Alignment. The actual applied offset will be clamped to avoid off-screen positioning.