QQC.ScrollView tries hard to set interactive=false on the
flickable item if the system has no touchscreen, which
disables GridView's keyPressEvent handling.
On the flip side the GridView code doesn't handle Home/End,
while this does.
The GridView needs to receive focus for keyboard navigation. Also, make
sure that we're not changing the current wallpaper on deselection, this
might happen when the currentIndex is changed through the keyboard.
- Minimize overdraw by showing the color Rectangle only if it would be visible
- Use an Animator for the image transition and defer animation until image is loaded
(-> no more stuttering when choosing a heavy wallpaper such as the Plasma Next one)
REVIEW: 121162
The parent item has opacity == 0.8, which means both the preview icon
and the actual preview are sligtly transparent and the icon bleeds
through; let's hide it completely
BUG: 339628
Reviewed-by: Bhushan Shah
wallpaper.configuration.Image is empty at first start, but the
image wallpaper object has the proper default
BUG:339414
(cherry picked from commit 3b2d770df4)
This produces a warning, from the looks of it it's a left-over from a
different time/space continuum, and I wouldn't know why it should be
needed with the other anchors in place. Kill it with fire.
optimal solutin will be using ui scaling of Qt 5.4
use this size as optionam thumbnail size and keep thumbnails
around that size, giving more row/columnsif needed
this gives more optimal sizes and not too blurry thumbmnails
BUG:335424
units.displayAspectRatio does not work properly on multiscreen as it
returns the aspect ratio of the combined size.
So instead we reuse the Wallpaper aspect ratio, which equals the current
screen aspect ratio (where current equals the one where it was invoked
from)
Reviewed-by: Marco Martin