Review Request 110326: Places Panel: Only show devices which do not exist in the Places

Àlex Fiestas afiestas at kde.org
Sat Jul 11 21:46:51 BST 2015



> On mai. 6, 2013, 7:19 p.m., Frank Reininghaus wrote:
> > Thanks for the patch, but I'm not entirely sure if this is a good idea. I agree that most people will only need one Places entry for each device, but in my experience, making guesses about what the user wants, and then taking actions based on these guesses without giving the user any choice, often leads to problems.
> > 
> > Moreover, I already see some problems with this implementation:
> > 
> > (a) Updates are needed: If the hand-made entry is removed, the device should be shown again.
> > (b) If the hand-made entry is hidden, the device should probably be shown again.
> > 
> > Implementing these things will make the code even more complex and possibly cause other issues.
> > 
> > On the other hand, the only price that we have to pay if this patch does not go in is that users who set up a hand-made "Place" for a device and don't want to see another entry for that in the "Devices" section have to hide it by hand. Or am I overlooking something?
> 
> Àlex Fiestas wrote:
>     I acknowledge that having duplicated entries is something we want to avoid, I'm unsure though if removing the places is what we want to do specially when the place has been manually created by the user.
>     
>     A case that will always happen is Root, I find really stupid that we are still shipping with Root as a default Place, normal users do not care about what is beyond ~/ and right now we are showing that entry twice one for the root and one for the device.
>     
>     Perhaps hiding the device makes more sense
> 
> Àlex Fiestas wrote:
>     Hey guys, what happened with this patch?
>     
>     I still think is something we want in, Vishesh can you make the improvements Frank requested?
>     
>

Started a thread in https://forum.kde.org/viewtopic.php?f=285&t=127215&p=337835#p337835


- Àlex


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/110326/#review32152
-----------------------------------------------------------


On mai. 6, 2013, 3:22 p.m., Vishesh Handa wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/110326/
> -----------------------------------------------------------
> 
> (Updated mai. 6, 2013, 3:22 p.m.)
> 
> 
> Review request for Dolphin, Àlex Fiestas and Frank Reininghaus.
> 
> 
> Repository: kde-baseapps
> 
> 
> Description
> -------
> 
>     Places Panel: Only show devices which do not exist in the Places
>     
>     No point showing them twice.
> 
> 
> Diffs
> -----
> 
>   dolphin/src/panels/places/placesitemmodel.cpp 1acbb57 
> 
> Diff: https://git.reviewboard.kde.org/r/110326/diff/
> 
> 
> Testing
> -------
> 
> works!
> 
> 
> Thanks,
> 
> Vishesh Handa
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20150711/c2f699dd/attachment.htm>


More information about the kfm-devel mailing list