Highlight item in sidebar when dragging an item into it

Bug #898515 reported by Cassidy James Blaede
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
elementary Stylesheet
Fix Released
Low
Unassigned

Bug Description

If I want to drop something into a folder that's on my sidebar, I drag it to the sidebar and try to drop it on the item. However, since the mouse cursor (combined with the item I'm dragging) is so big, it's very difficult to be sure that I'm going to be dropping it in the right place.

I suggest the item in the sidebar highlights (like on mouseover) when it's accepting a drop action. This would be super beneficial to anyone who uses the trash or any other item in the sidebar as a place to drop items.

Revision history for this message
xapantu (xapantu) wrote :

It works fine with Ambiance, it might be a theme (egtk?) problem.

Changed in marlin:
status: New → Invalid
tags: added: gtk3 sidebar
Changed in egtk:
status: New → Confirmed
tags: added: focus treeview
Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

I'll try and tackle this.

Changed in egtk:
assignee: nobody → Cassidy James (cassidyjames)
importance: Undecided → Low
Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

Well shoot. I'm not seeing it work in Ambiance anymore, so I can't just copy the code. :3

Any ideas?

Revision history for this message
Cassidy James Blaede (cassidyjames) wrote :

Okay, I might be able to look at how Adwaita does it, as they do give it a thin border.

Revision history for this message
Satyajit Sahoo (satyajit-happy) wrote :

You need to style the .dnd widget (aka drag n drop).

Revision history for this message
Victor Martinez (victored) wrote :

This is a very important usability bug. Should be given more priority :)

tags: added: bitesize
Revision history for this message
Danielle Foré (danrabbit) wrote :

Okay, so I tried to style the .dnd widget and encountered a few problems with properties not working. Those are:

margin
background-color
border-radius

I'm going to go ahead and push anyways for now. But if we could get that fixed, that'd be swell.

affects: marlin → pantheon-files
Changed in pantheon-files:
status: Invalid → New
Changed in egtk:
assignee: Cassidy James (cassidyjames) → nobody
status: Confirmed → In Progress
Changed in egtk:
status: In Progress → Fix Committed
milestone: none → luna-beta2
Changed in egtk:
status: Fix Committed → Fix Released
Changed in pantheon-files:
status: New → Invalid
status: Invalid → Confirmed
importance: Undecided → Wishlist
no longer affects: pantheon-files
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.