[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Review Request: big revamp of Device Notifier
From:       "Giulio Camuffo" <giuliocamuffo () gmail ! com>
Date:       2009-09-11 13:32:46
Message-ID: 20090911133246.7189.98891 () localhost
[Download RAW message or body]



> On 2009-09-10 18:18:27, Jacopo De Simoi wrote:
> > /trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/notifierview.cpp, line \
> > 194 <http://reviewboard.kde.org/r/1370/diff/5/?file=10968#file10968line194>
> > 
> > May I ask why do you need to go backward?
> 
> wrote:
> Sincerely, I don't know. I changed this months ago and I don't remember why. But \
> now i tried to revert it and it seems to work anyway.  I really should comment more \
> the code!

i noticed now that after i modified the cycle to go forward the button to mount or \
eject the volume is printed on the row under the device.  this happens because going \
forward the view calculates the rect of the device item, than the ones of its \
actions. But the actions are painted under the device, so when it starts calculating \
the button, it puts it under them because the actions increase the verticalOffset' s \
value. Calculating the button' s rect first and then the devices' and their actions' \
solves this.


On 2009-09-10 18:18:27, Giulio Camuffo wrote:
> > I still don't like the fact that you have to click twice to select the action if \
> > there is only one available action.. we should find a solution for this..
> 
> Giulio Camuffo wrote:
> I agree.
> Maybe we could show the actions on hover. This would require then a single click, \
> but on the other hand it could be a bit annoying if you have many devices and you \
> have to get to the one on the other side of the applet. 
> Michal Dutkiewicz wrote:
> > Maybe we could show the actions on hover.
> 
> What about showing them with delay (so fast mouse move won't trigger showing)?

This could be a solution, but could make this feature less discoverable


- Giulio


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/1370/#review2266
-----------------------------------------------------------


On 2009-09-01 16:55:56, Giulio Camuffo wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/1370/
> -----------------------------------------------------------
> 
> (Updated 2009-09-01 16:55:56)
> 
> 
> Review request for Plasma.
> 
> 
> Summary
> -------
> 
> This is a patch that modifies quite heavily the behaviour of the Device Notifier.
> It comes from here: \
> http://kde-look.org/content/show.php/Device+Manager?content=106051 It can show the \
> not removable devices too, it can mount them automatically or with a click, since \
> the "eject" button is a "mount" button when the volume is umounted. So that guy on \
> the dot will be ok. It can hide some items in the same way as Dolphin's places \
> (hide item/ show all). Finally, it shows the various opening actions under the \
> device instead of calling that xp-ish window. 
> 
> Diffs
> -----
> 
> /trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/devicenotifier.h 1013960 \
>                 
> /trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/devicenotifier.cpp \
>                 1013960 
> /trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/CMakeLists.txt 1013960 
> /trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/configurationpage.ui \
>                 PRE-CREATION 
> /trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/devicespaceinfodelegate.h \
>                 1013960 
> /trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/devicespaceinfodelegate.cpp \
>                 1013960 
> /trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/notifierdialog.h 1013960 \
>                 
> /trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/notifierdialog.cpp \
>                 1013960 
> /trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/notifierview.h 1013960 
> /trunk/KDE/kdebase/workspace/plasma/applets/devicenotifier/notifierview.cpp 1013960 \
>  
> Diff: http://reviewboard.kde.org/r/1370/diff
> 
> 
> Testing
> -------
> 
> I'm using it every day since I released 0.1 on Kde-look. I tried all the options on \
> my pc and they work. Some people on kde-look posted some comments about some \
> problems, but it seems to me they are very particular cases, so in my opinion it is \
> quite stable to go in trunk, but anyway review it! :) 
> 
> Screenshots
> -----------
> 
> screen
> http://reviewboard.kde.org/r/1370/s/183/
> 
> 
> Thanks,
> 
> Giulio
> 
> 

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic