Bug 297856 - Thumbnail not placed in center of TabBox when there is only one window
Summary: Thumbnail not placed in center of TabBox when there is only one window
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: 4.8.2
Platform: unspecified Linux
: NOR normal
Target Milestone: 4.8.3
Assignee: KWin default assignee
URL: https://git.reviewboard.kde.org/r/104...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-10 17:28 UTC by Martin Flöser
Modified: 2012-04-16 15:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Flöser 2012-04-10 17:28:07 UTC
1. Enable Thumbnails Window Switcher layout
2. Have only one window open
3. Use Alt+Tab

Actual Result:
Thumbnail is misaligned to the left border and lots of empty space right to the thumbnail.

Expected Result:
Thumbnail is nicely centered in the box.
Comment 1 Martin Flöser 2012-04-10 20:04:26 UTC
Review Request created: https://git.reviewboard.kde.org/r/104541/
Comment 2 Martin Flöser 2012-04-16 15:42:51 UTC
Git commit f9a5f5d74bc5be5d0614eeb2c11db56a3e44a377 by Martin Gräßlin.
Committed on 10/04/2012 at 21:58.
Pushed by graesslin into branch 'master'.

Horizontal center the Thumbnail ListView

This ensures that also for a small TabBox with just one item
the thumbnail is nicely centered.

REVIEW: 104541

M  +2    -2    kwin/tabbox/qml/clients/thumbnails/contents/ui/main.qml

http://commits.kde.org/kde-workspace/f9a5f5d74bc5be5d0614eeb2c11db56a3e44a377
Comment 3 Martin Flöser 2012-04-16 15:45:02 UTC
Git commit 6d43d248b47aef9bd80f050c738d405e3f9acbea by Martin Gräßlin.
Committed on 10/04/2012 at 21:58.
Pushed by graesslin into branch 'KDE/4.8'.

Horizontal center the Thumbnail ListView

This ensures that also for a small TabBox with just one item
the thumbnail is nicely centered.

Cherry-picked from f9a5f5d74bc5be5d0614eeb2c11db56a3e44a377

REVIEW: 104541
FIXED-IN: 4.8.3

M  +2    -2    kwin/tabbox/qml/thumbnails.qml

http://commits.kde.org/kde-workspace/6d43d248b47aef9bd80f050c738d405e3f9acbea