Review Request: Option to set no title for the folderview applet

J Janz kde at juniorjanz.net
Thu Mar 3 17:16:49 CET 2011



> On Feb. 28, 2011, 3:45 p.m., Sebastian Kügler wrote:
> > There's no need to add a UI option for this, the user should just be able to set an empty title and the header would then get hidden / collapsed.
> > 
> > Right now, this doesn't happen since when the label is empty, the default gets chosen. So this mechanism needs to be a bit smarter to detect when the user has actually set an empty title (which is different from title.isEmpty() so set default name).
> 
> Farhad Hedayati Fard wrote:
>     How should I know whether the user has set the title empty to make the header hidden or by doing so he/she means to choose the default title instead of being hidden? I think It either needs a UI option or some special value in the custom title... 
>     Maybe I don't get what you're saying, can you please explain a little more? 
>     Thanks :)

If I may try to help, I'd suggest something, IMHO, a bit easier to understand at first sight: changing 4.6's "Custom Title" line for a checkbox (meaning title or no title), a label "Title" and edit box. Something like: [X] Title: [Default_______]

Then, leaving the edit box blank is default title (and, yeah, it could display "Default" at first time and right when cleared) or, sure, if user touched it, that's the title's value.


- J


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


On March 3, 2011, 1:39 p.m., Farhad Hedayati Fard wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100750/
> -----------------------------------------------------------
> 
> (Updated March 3, 2011, 1:39 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Summary
> -------
> 
> Let the user set a blank label. The label should not take up any space when it is blank.
> 
> 
> Diffs
> -----
> 
>   plasma/applets/folderview/folderview.h 2241b12 
>   plasma/applets/folderview/folderview.cpp f604277 
> 
> Diff: http://git.reviewboard.kde.org/r/100750/diff
> 
> 
> Testing
> -------
> 
> Works fine here! 
> 
> 
> Screenshots
> -----------
> 
> folderview configuration dialog
>   http://git.reviewboard.kde.org/r/100750/s/84/
> folderview with blank label
>   http://git.reviewboard.kde.org/r/100750/s/85/
> 
> 
> Thanks,
> 
> Farhad
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20110303/8a652785/attachment-0001.htm 


More information about the Plasma-devel mailing list