summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-08-22 17:30:43 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-08-22 20:40:01 +0200
commitd5c7657c541c1f6d17bfe5e605594c235eecfcdb (patch)
tree251a2e9962dc632d608b4141b162fbdc6dda94f7 /sw
parent055c249847548a5c28ab5b29f3603ffbe74fe1f0 (diff)
tdf#71087 sfx2: avoid flicker in the start center
There were a couple of problems here: 1) BackingWindow now does double-buffering to avoid flicker when e.g. navigating with the keyboard in sfx2::RecentDocsView 2) But then the menu background turned into white (instead of the gradient), so MenuBarWindow needs to differentiate between doing its own buffering vs painting into a buffer. 3) The focus rectangles were always painted directly, so keyboard navigation in the startcenter lost focus rectangles, making it hard to see which button is active currently. Fix this by explicitly painting a tracking rectangle in PushButton::ImplDrawPushButton(). This brings an improvement for the Windows GDI and Linux gen backends. Windows GL and Linux gtk3 is meant to be unchanged, they were already flicker-free here. Change-Id: Ib01e330c244c2b38a5b5c52399692e19ff811de3 Reviewed-on: https://gerrit.libreoffice.org/77969 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw')
0 files changed, 0 insertions, 0 deletions