I can repeatably get the highlight-underline under a URL to stay behind even after a refresh when combined with a scroll. Reproducible: Always Steps to Reproduce: 1. Start a new konsole with a shell in it 2. Hit return a few times until you get to about half way down the konsole 3. echo http://www.kde.org 4. Hit return a few more times until the line with the URL scrolls up a bit 5. Roll the scroll wheel up a little to cause it to scroll up - keeping the URL on screen 6. hover the mouse over the url so it's highlighted 7. Hit return (causing the scrollbar to scrolldown) Actual Results: A horizontal line of the same with as the URL is left on the konsole even though the URL has scrolled up. Expected Results: The line follows the URL and hence disappears off the top.
I cannot reproduce this using konsole-4.13.0
Sorry, didn't follow *all* the steps, the important part is step 5, you have to be scrolled up a bit to trigger it.
I've added a bit of debug, but still finding my way around konsole's data structures; when I hit return I see calls to updateImage that then calls scrollImage and paintFilters. PaintFilters is then drawing the line at the wrong location, it's 'spot' it's getting seem to correspond to where it ends up drawing the line (i.e. the wrong place). I don't see any calls to processFilters or scrollScreenWindow when I hit return.
Created attachment 86421 [details] A hacky patch that seems to work This patch seems to work, but it's just the result of a bit of hacking around without really understanding konsole's data structures. Do the filters really need to be updated on every update? If not exactly which updates need to trigger it? (I was going to make this only happen when the scroll amount was non-0 which is why I put the flag set where it is, but I think always doing it is fixing more cases).
The issue doesn't seem to happen any more with konsole5 and konsole4/kde4 is no longer maintained.