]> cloud.milkyroute.net Git - dolphin.git/commit
Keep name readable on drag to matching background
authorChristian Christiansen <christian.l.christiansen@gmail.com>
Tue, 5 May 2020 23:30:57 +0000 (09:30 +1000)
committerChristian Christiansen <christian.l.christiansen@gmail.com>
Tue, 5 May 2020 23:40:55 +0000 (09:40 +1000)
commit1d72710039b547d91b7138d3899e783e26aac849
treefd39ff40690cbd9d88f2b33f5c51676a420489bf
parent3e1cb2c7fb41d20f19bb039c77714e8128bf5e00
Keep name readable on drag to matching background

Summary:
Previously, when a single item was selected and dragged, the
name would become unreadable when the text colour matched the
background colour it was dragged onto.

This is now fixed by not deselecting the item (and hence keeping
the highlighting around the text) before creating the pixmap for
dragging.

BUG: 405266

Test Plan: Tested with Breeze and Breeze Dark.

Reviewers: #dolphin, elvisangelaccio, meven

Reviewed By: #dolphin, elvisangelaccio, meven

Subscribers: meven, elvisangelaccio, kfm-devel

Tags: #dolphin

Differential Revision: https://phabricator.kde.org/D29378
src/kitemviews/kitemlistwidget.cpp