[Konsole-devel] Review Request: Simplify the HistorySizeDialog

Jekyll Wu adaptee at gmail.com
Mon Sep 26 08:01:00 UTC 2011



> On Sept. 24, 2011, 2:20 p.m., Kurt Hindenburg wrote:
> > The 'save to current profile' was put in there as there were complaints from users.  This was back when the History was in the main menu, not just context menu.
> > 
> > I basically agree w/ your argument but still think there will be confusion.  Putting some text say this change is temporary is likely a bit much.
> > 
> > Should the 'Default' put the settings back to the profile settings?

Aboot the 'save to current profile': I agree putting some text label is useful and necessary and will add it.

About the 'Default' button: the main reason I want to remove it is what it means is confusing to users, both in concept and implementation.

In concept: What is that default value? the value in the profile ? or the value in use before I open this dialog? or some value hardcode  in the code, i.e., the default of default?

In implementation: the current code use hardcoded 'fixed history' and '1000 lines' as the default(the 3rd possibility metiond above). I think that is the least intuitive choice.

I guess a 'Reset' button is a better choice: it just resets those checkboxes to the state when this dialog is opened.


- Jekyll


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


On Sept. 24, 2011, 9:45 a.m., Jekyll Wu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/102688/
> -----------------------------------------------------------
> 
> (Updated Sept. 24, 2011, 9:45 a.m.)
> 
> 
> Review request for Konsole.
> 
> 
> Description
> -------
> 
> The main changes :
> 
>   - the change is not saved into profile and only influences current tab
>   - remove the 'save into profile' checkbox
>   - remove the 'Default' button
>     
> My main argument is current design is (potentially) confusing and not consistent with other actions in the context menu. Most actions(Encoding, Clear Scrollback, Change profile) in the context menu are per tab, which means they only influce current tab and does not update the profile file.  That is why the menu is called as context menu.
> 
> In general, I think the 'Edit Profile' dialog should be the only place where modification can be saved persistently. That would simplify both the concept and implementation.
> 
> 
> This addresses bug 227114.
>     http://bugs.kde.org/show_bug.cgi?id=227114
> 
> 
> Diffs
> -----
> 
>   src/HistorySizeDialog.h e4ee4b2 
>   src/HistorySizeDialog.cpp 79ccaa9 
>   src/SessionController.h 796b579 
>   src/SessionController.cpp d109bb2 
> 
> Diff: http://git.reviewboard.kde.org/r/102688/diff/diff
> 
> 
> Testing
> -------
> 
> 
> Screenshots
> -----------
> 
> HistorySizeDialog
>   http://git.reviewboard.kde.org/r/102688/s/270/
> using combobox instead of checkbox
>   http://git.reviewboard.kde.org/r/102688/s/272/
> 
> 
> Thanks,
> 
> Jekyll Wu
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20110926/0c609f61/attachment.html>


More information about the konsole-devel mailing list