[Konsole-devel] Review Request: "New Tab" action should always open new tab using the default profile
Commit Hook
null at kde.org
Sat Jan 28 23:45:04 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103809/#review10186
-----------------------------------------------------------
This review has been submitted with commit 5450060f6fdef2532709706bac2f85d1fc114dda by Jekyll Wu to branch master.
- Commit Hook
On Jan. 28, 2012, 2:54 p.m., Jekyll Wu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103809/
> -----------------------------------------------------------
>
> (Updated Jan. 28, 2012, 2:54 p.m.)
>
>
> Review request for Konsole.
>
>
> Description
> -------
>
> Currently, "New Tab" action will create new tab using the _defaultProfile of MainWindow. In normal usage, that does not cause differece than using _defaultProfile of SessionManager. However, when "--profile" option is used, _defaultProfile of MainWindow refers to the profile specifed on the command line. So in that case, "New Tab" is more like "Clone Tab".
>
> I think "New Tab" should always open new tab using the default profile, no matter what command line options are given. That is the most simple and intuitive behavior.
>
> Another argument is consistency. Since bug 184788 has been fixed, "New Tab" now behaves like "New Tab" in the case of "-e" option, but more like "Clone Tab" in the case of "--profile" option. I think that is only confusing.
>
> The patch is simple. However, it is the first step towards getting rid of _defaultProfile from MainWindow. So It is better to discuss the idea first here.
>
> My general thought is making "New Tab" action simple and adding "Clone Tab" action as its complement, as posted in bug 292518 and bug 254976
>
>
> Diffs
> -----
>
> src/MainWindow.cpp 745b51f
>
> Diff: http://git.reviewboard.kde.org/r/103809/diff/diff
>
>
> Testing
> -------
>
>
> Thanks,
>
> Jekyll Wu
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20120128/cc9c5797/attachment.html>
More information about the konsole-devel
mailing list