<table><tr><td style="">aaronpuchert added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D6184" rel="noreferrer">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #8C98B8;
color: #6B748C;
font-style: italic;
margin: 4px 0 12px 0;
padding: 8px 12px;
background-color: #F8F9FC;">
<div style="font-style: normal;
padding-bottom: 4px;">In <a href="https://phabricator.kde.org/D6184#122970" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;" rel="noreferrer">D6184#122970</a>, <a href="https://phabricator.kde.org/p/rjvbb/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;" rel="noreferrer">@rjvbb</a> wrote:</div>
<div style="margin: 0;
padding: 0;
border: 0;
color: rgb(107, 116, 140);"><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>In these cases you don't want horizontal scrolling, because it destroys the alignment that helps the user orient. Which is especially important in source code, or a directory tree.</p></blockquote>
<p>?? Who said my change implements per-line scrolling? The whole view is scrolled, just like in a text view where alignment is also not "destroyed" as you claim. Wrapping is much more detrimental to orientation.</p></div>
</blockquote>
<p>I completely understand your proposal. I was trying to say that if I'm scrolling horizontally, the alignment <em>on the screen</em> is destroyed. So if one directory level is <em>n</em> pixels indented, and I'm scrolling a bit, the level might have an indentation of <em>m</em> ≠ <em>n</em>, and another level might have indentation <em>n</em>. That doesn't make it easier to orient.</p>
<p>There is a reason why most PDF viewers scale to the width of the window. There is a reason why web pages are written to adapt to the width of the browser view. All of this is to avoid horizontal scrolling.</p>
<p>Let's not discuss wrapping here, since it is irrelevant to the change in question.</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>I agree scrolling is very sensitive, it might be possible to do something about that via an event filter. You get used to it though, and use of a touchpad under Linux requires a bit of patience setting things up correctly (and even then it won't work as well as a Mac touchpad does). There's a trick too if you're using 2-finger scrolling: just scroll a tad towards the left to keep the view left-aligned. Or use the scrollbar...</p></blockquote>
<p>I'm aware of the tricks, but I don't think it's wise to make users having to learn them.</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>Would it be technically feasible to toggle from one mode to another by pressing a modifier key?</p></blockquote>
<p>I'd even argue for only showing the completion. The full path of a file is probably rarely required. Also, since I can't copy-and-paste from tool tips, it's not that helpful anyway.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R33 KDevPlatform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6184" rel="noreferrer">https://phabricator.kde.org/D6184</a></div></div><br /><div><strong>To: </strong>rjvbb, KDevelop, kfunk<br /><strong>Cc: </strong>aaronpuchert, kfunk, apol, kdevelop-devel, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>