[Konsole-devel] Review Request: Disable the feature of "shortening common dirnames" for %d by deafult
Jekyll Wu
adaptee at gmail.com
Tue Feb 14 16:18:04 UTC 2012
> On Feb. 14, 2012, 3 p.m., Kurt Hindenburg wrote:
> > Since the default is to not use %d, the user would have to select it if they want. I'm more inclined to live the code as-is.
> >
> > Perhaps give some documentation about changing the defaults in the rc file would be better than nothing.
Well, I think that "%D" being default is just another hack/workaround (like this one) to reduce the impact of the reported problem.
According to the git history, "%d" has been the default until the recent commit in the bug report. I think choosing "%d" as default is a good idea, because "%D" can be easily expanded to quite long. So even we now provide "%D" as default, I doubt users will use that default happily. They will probably try "%d", and find the reported problem quickly. So I think that workaround is not that useful.
The ideal solution is to provide gui elements for controlling this feature. But I doubt the effort will pay off for this feature, or the priority is high enough. So before we finally provide a real solution, I propose to use another workaround than the current workaround. That is :
* use "%d" as default
* disable that feature by default by settings the list as empty in the code
* add good documentation on how to enable that feature by editing konsolerc manually
Yes, the proposed workaround means some (power) users who enjoy this feature might find this feature is gone in surprise. But I do believe they are the minority and are capable of finding how to get it back through reading documentation.
- Jekyll
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103949/#review10631
-----------------------------------------------------------
On Feb. 12, 2012, 8:59 a.m., Jekyll Wu wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103949/
> -----------------------------------------------------------
>
> (Updated Feb. 12, 2012, 8:59 a.m.)
>
>
> Review request for Konsole.
>
>
> Description
> -------
>
> The attached patch is only a hack, not a real solution.
>
> I would like to discuss something:
>
> 1). In principle, shall we provide GUI for each effective option? Is it OK to have some hidden options which are only configurable through manual editing, when such options are rarely used or hard to understand for ordinary users? Of course, we must provide clear document for those hidden options in that case.
>
> 2). For this specific option, it currently always reads konsolerc, which is not quite good for konsolepart.
>
>
> This addresses bug 190281.
> http://bugs.kde.org/show_bug.cgi?id=190281
>
>
> Diffs
> -----
>
> src/ProcessInfo.cpp 92e3eca
>
> Diff: http://git.reviewboard.kde.org/r/103949/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Jekyll Wu
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20120214/8be04de3/attachment.html>
More information about the konsole-devel
mailing list