Bug 58699 - Viewing long line is not accessible
Summary: Viewing long line is not accessible
Status: CONFIRMED
Alias: None
Product: kompare
Classification: Applications
Component: viewpart (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kompare developers
URL:
Keywords:
: 284858 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-20 05:48 UTC by Andrey Cherepanov
Modified: 2017-01-04 20:11 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Cherepanov 2003-05-20 05:48:58 UTC
Version:            (using KDE KDE 3.1)
Installed from:    Compiled From Sources
Compiler:          egcs-2.96 
OS:          Linux

It's terrible for view long lines - scrolling works for both lines (old and new file). Show line contents as tooltips or separate scrollbar for each part is better.
Comment 1 Otto Bruggeman 2003-10-06 06:59:47 UTC
Most of the times the lines are almost equal, so scrolling both views simultaneously is the 
best option in my opinion to see if there are differences. But i you have a really good 
reason i might be persuaded to do it your way, otherwise i dont think i will fix this bug. 
Comment 2 Otto Bruggeman 2003-12-27 00:48:18 UTC
What would you say if i changed it to wrapped lines ? This might be something i am willing to implement for 3.3 if it is not too much work, i'll give it a try of you say that that is good enough for you instead of tooltips or separate scrollbars. Just let me know before 3.3 is in feature freeze :)
Comment 3 Otto Bruggeman 2004-04-13 17:53:44 UTC
There is now support to drag the middle widget to the left and right to make more of the lines available. I still haven't gotten around to wrapping lines, hopefully i'll be able to do so in the near future.
Comment 4 Otto Bruggeman 2004-10-02 19:57:31 UTC
Changing to a wish, i'll fix this when i have more time but for now it has to wait...
Comment 5 Jeff Snyder 2004-11-21 22:38:59 UTC
Reporter hasn't responded to Otto's comments in over a year..

Things we could change to fix this:
* one horizontal scrollbar per listview
 - this is a drawback in most cases, see comment #1.
* tooltips for long lines
 - possible, but it might get annoying. 
* wrapped lines
 - I reckon that this would just confuse people, since it may look like one inserted line is actually two.

Andrew, Dominik, or anyone else interested in this wish:
could you elaborate on what your requirements are?
which of the above 3 things are prefferable to you?
does having the splitter draggable (as implemented since 3.3) solve the issue?

This issue can't be taken much further without user feedback, so I'll probably close this if there is none..

- Jeff
Comment 6 Andrey Cherepanov 2004-11-22 08:04:56 UTC
I guess, one horizontal scrollbar per listview is sutable solution for this bug/wish.
Comment 7 Jeff Snyder 2005-01-16 02:23:03 UTC
Hi again Andrey,

To get this resolved in a way that suits everyone, I really need some more information from you beyond "I would prefer seperate horizontal scrollbars".

As much as I hate to restate myself, all the points raised and questions asked in my previous comment still need answers responses and answers before this issue can go much further - I'm trying to understand why you find the joint scrolling difficult for long lines.

Examples of information that would help here:

- would it help if the side without the long lines stopped scrolling right at the correct point? (atm it carries on beyond where it's useful, I intend to fix this anyway)

- could you attach file(s) with which this issue occurs?

- the report says you're using kde 3.1 - have you tried Kompare from 3.3 with the draggable divider?

- what do you think of the 3 solutions suggested in my previous comment and, more importantly, why?

Thanks, 

Jeff
Comment 8 Jeff Snyder 2005-06-06 21:45:34 UTC
This is gonna be a little spammy... I'm reassigning everything that's currently 
assigned to bruggie (who's been the default assignee for bugs since time began) 
to the new list address. 
 
Bruggie: if you're working on one or more of these atm, please snatch 'em 
back.. 
 
Everyone, esp. Joshua and Bruggie: if this genrates 33 mails, my sincere 
apologies.. 
Comment 9 john 2007-05-17 12:20:39 UTC
PLEASE do include optional wrapping. meld (http://meld.sourceforge.net/) does that, and it is very useful in comparing markup files (e.g. LaTeX). One line can be really long there... It is a feature I really miss in kompare.
Comment 10 Daniel Aleksandersen 2007-12-26 13:01:04 UTC
Optional line-wrapping is indeed needed. When working on larger texts is it very difficult to use Kompare to see differences between two long paragraphs.
Comment 11 Kevin Kofler 2007-12-28 17:55:35 UTC
But there's no way this is going to be added before KDE 4.1, 4.0 is feature-frozen now and 3.5 is supposed to be frozen too. Sorry.
Comment 12 Daniel Aleksandersen 2007-12-28 19:15:38 UTC
No one expects anything to be done overnight. But seeing this feature request implemented in the future—even though it will not be the 4.0r1—will be no more than we are all asking for. ☺

But the big question remains: Will it be added in KDE 4.1?
Comment 13 Karl Ove Hufthammer 2009-06-15 10:39:39 UTC
FWIW, I too would *very* much like optional line wrapping. I frequently work on diffs with very long lines, and Kompare is akward to use then.

One solution to the problem of having a wrapped line look like separate changed lines, is to employ the line-wrapping symbol used in Kate when you activate the ‘Show line numbers’ option. I think it works very well.
Comment 14 Yngve Levinsen 2011-10-24 10:52:05 UTC
*** Bug 284858 has been marked as a duplicate of this bug. ***
Comment 15 Michael D 2013-07-03 11:10:36 UTC
Some sort of implementation of wrapping is sorely needed. I often (only!) compare files with huge lines, making kompare relatively useless.
Comment 16 Michael D 2015-10-20 11:08:34 UTC
I know this bug has been sitting around for 12 years already, but seeing that somebody has at least ported Kompare to qt5, I was wondering if there is still a chance of seeing dynamic wrap as an option?
Comment 17 avlas 2016-02-14 13:21:31 UTC
I would love to have this feature implemented in Kompare as well!
Comment 18 Hamidreza Jafari 2017-01-04 20:11:57 UTC
Long live long line!