Bug 382480 - Text preview on scrollbar and matching braces
Summary: Text preview on scrollbar and matching braces
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: 16.08
Platform: Debian stable Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-18 21:53 UTC by Victor Porton
Modified: 2020-10-31 07:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
a file which triggers wrong behavior (8.71 KB, application/x-perl)
2017-07-18 21:53 UTC, Victor Porton
Details
Correct sidebar (117.13 KB, image/png)
2017-07-18 21:54 UTC, Victor Porton
Details
Wrong sidebar (117.60 KB, image/png)
2017-07-18 21:55 UTC, Victor Porton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Porton 2017-07-18 21:53:26 UTC
Created attachment 106714 [details]
a file which triggers wrong behavior

I have "Show text preview on scrollbar" option on.

Open the attached file (a Perl script which does nothing).

When the cursor is before the first character of the first line the file, the text preview at the scroll bar is displayed correctly. (I will attach an image.)

But if we move the cursor to the position of the opening brace at the first line of the file, I have the text between the braces highlighted, but the scrollbar does not show the text preview for the highlighted text fragment anymore. (I will attach a screenshot.)

So the text preview in scrollbar is buggy.

Kate 16.08.3
Comment 1 Victor Porton 2017-07-18 21:54:37 UTC
Created attachment 106715 [details]
Correct sidebar
Comment 2 Victor Porton 2017-07-18 21:55:01 UTC
Created attachment 106716 [details]
Wrong sidebar
Comment 3 Justin Zobel 2020-10-27 06:44:52 UTC
Victor can you please confirm if this is still an issue on kate, thanks.
Comment 4 Dominik Haumann 2020-10-31 07:39:02 UTC
We'll, it's still correct: the sidebar also paints the highlighted background of the bracket matching. Since the braces span the entire document, the entire minimap has a light green background.

Closing as not a bug.