search: Preserve row switch state while dragging

While dragging a row in order to reoder the search list, we create
a fake copy of the row that gets dragged into the position where
the user wants the row to be in. This fake row should have its
switch matching the state of its master copy.

Fixes #810
11 jobs for search-preserve-switch-state-on-drag in 4 minutes and 14 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #530184
build

00:03:04

 
  Test
passed #530186
asan

00:01:09

passed #530185
test

00:00:49

 
  Manual
manual #530191
allowed to fail manual
armv8
manual #530187
allowed to fail manual
flatpak
manual #530190
allowed to fail manual
msan
manual #530192
allowed to fail manual
ppc64le
manual #530188
allowed to fail manual
tsan
manual #530189
allowed to fail manual
ubsan
 
  Review
manual #530193
allowed to fail manual
review
manual #530194
allowed to fail manual
stop_review