Bug 297856

Summary: Thumbnail not placed in center of TabBox when there is only one window
Product: [Plasma] kwin Reporter: Martin Flöser <mgraesslin>
Component: tabboxAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: neikokz+kbugs
Priority: NOR    
Version: 4.8.2   
Target Milestone: 4.8.3   
Platform: unspecified   
OS: Linux   
URL: https://git.reviewboard.kde.org/r/104541/
Latest Commit: Version Fixed In: 4.8.3

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