<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 solid;">
<tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://git.reviewboard.kde.org/r/102756/">http://git.reviewboard.kde.org/r/102756/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<p style="margin-top: 0;">On October 3rd, 2011, 11:48 p.m., <b>Kurt Hindenburg</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">" I guess the design intention is to allow konsole and host apps have independent settings for favorites/shortcuts"
Yes I believe that was the case. I could see wanting different profiles visible for konsole versus yakuake/kdevelop/etc. Do you really think no on else would?
I also don't see any issues w/ allowing kparts to open the 'manage profile' dialog. If they can edit any of konsole's profiles, why not add/etc them?
I'm open to what other people think...</pre>
</blockquote>
<p>On October 4th, 2011, 3:12 a.m., <b>Jekyll Wu</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">So we have different idea about the second & third problem. That's fine.
What about the first problem ? I really think that inconsistent read & write should be fixed. Either read & write from konsolerc, or read & write from <App>rc, but do not read from konsolerc and write to <App>rc.
</pre>
</blockquote>
<p>On October 4th, 2011, 3:28 a.m., <b>Eike Hein</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: 10px;">
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">> And AFAIK the only host app which actually uses that action is yakuake.
Which happens to be a highly popular application and certainly the most serious user of the KPart, so I'd suggest care with "only" :).</pre>
</blockquote>
</blockquote>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Actually, let me expand on that for a moment. I realize it's a bit of a thread hijacking, but then again the above touches on fundamentals of Konsole development, so it seems appropriate.
Konsole development unfortunately has a track record of developing the main application without much regard for the KPart; it frequently bitrots, causing problems for users of what's actually one of the most prevalent ways of tapping into the application's codebase, i.e. a KPart-hosting app. That's not really OK: Whoever develops Konsole should do so in the awareness that it's not just one application, but in fact a platform technology, a provider to *other* applications. It has responsibility toward its downstream users in terms of API and general stability.
The truth is that Konsole is currently misarchitected. Rather than the KPart being a separate shell around the core classes, the KPart should be their primary interface. I.e. the Konsole application should be a relatively thin wrapper hosting the KPart, similar to how apps like Kate/KWrite and Okular are set up. That would necessarily force the KPart's API to be complete and maintained, and make it a lot easier for Konsole to live up to its dual responsibilities.</pre>
<br />
<p>- Eike</p>
<br />
<p>On October 2nd, 2011, 3:15 p.m., Jekyll Wu wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" style="background-image: url('http://git.reviewboard.kde.org/media/rb/images/review_request_box_top_bg.png'); background-position: left top; background-repeat: repeat-x; border: 1px black solid;">
<tr>
<td>
<div>Review request for Konsole.</div>
<div>By Jekyll Wu.</div>
<p style="color: grey;"><i>Updated Oct. 2, 2011, 3:15 p.m.</i></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: 1px solid #b8b5a0">
<tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">The first problem(bug #251062) is SessionManager always read the 'DefaultProfile' entry from konsolerc, but always write that entry into <App>rc. That makes no difference when using konsole directly. But when konsole is used through the kpart way, It causes reported problem. I think this inconsistent read/write must be corrected.
The second problem(bug #257708) is SessionManager always read/write the Favorites/Shortcuts entries from <App>rc, instead of the konsolerc. Again, when konsole is used through the kpart way, it causes confusion. I guess the design intention is to allow konsole and host apps have independent settings for favorites/shortcuts. But I feel that is over design.Most apps and users only expect/need konsole kpart to provide an plain embedded terminal where a shell is ready for use. They do not need/care the ability to open a new session with some favorite profile using some shortcut.
A related but bigger question is : Is it necessary for konsole kpart to provide the action for opening the ManageProfilesDialog? As mentioned above, 'Favorites' does not make much sense for host apps and 'Shortcuts' is already hidden. And AFAIK the only host app which actually uses that action is yakuake.
</pre>
</td>
</tr>
</table>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>
<a href="http://bugs.kde.org/show_bug.cgi?id=251062">251062</a>,
<a href="http://bugs.kde.org/show_bug.cgi?id=257708">257708</a>
</div>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>src/SessionManager.cpp <span style="color: grey">(38bc703)</span></li>
</ul>
<p><a href="http://git.reviewboard.kde.org/r/102756/diff/" style="margin-left: 3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>