! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Hard to reproduce off by one error in "Highlight All" feature
Status:
RESOLVED: WORKSFORME
Product:
Mousepad
Component:
General

Comments

Description Jason White 2019-08-14 18:21:14 CEST
Created attachment 8885 
screenshot of the off by one error for "highlight all"

Under certain circumstances the "Highlight All" button of the Find feature does not highlight all instances of the found text in yellow. In this case the very last instance never got highlighted in yellow for the whole duration of the query for "XMIT_EXPLICIT_MESSAGE_OBJECT". Pressing the "Next" and "Previous" buttons will cycle through and highlight in gray each of the matches including the one that has not been highlighted in yellow.

This seemingly occurs randomly only one persists for a single Find query. Changing the query will cause the issue to vanish for a while. Returning to the same query after searching for something else does not reproduce the bug.

This occurred while I had 8 instances of mouse-pad running at the same time with multiple tabs and find queries going on at the same time.

I do not believe that the developers will be able to consistently reproduce the bug. However, there could be value in keeping this observation in mind on the off chance that the off-by-one error still is possible in newer versions.
Comment 1 Jason White 2019-08-14 18:22:12 CEST
Created attachment 8886 
another screenshot of off by one error
Comment 2 Theo Linkspfeifer editbugs 2019-08-14 22:26:22 CEST
Please test with the latest release (0.4.2), and let us know if the bug still occurs.
Comment 3 Jason White 2019-08-15 15:38:32 CEST
I can't reliably reproduce the bug on 4.0, I do not believe I will be able to reproduce it on 4.2.
Comment 4 Theo Linkspfeifer editbugs 2020-03-28 11:56:09 CET
I still cannot reproduce this bug with the latest version, so I am closing the report for now.

Bug #15829

Reported by:
Jason White
Reported on: 2019-08-14
Last modified on: 2020-03-28

People

Assignee:
Matthew Brush
CC List:
3 users

Version

Target Milestone:
Mousepad 0.4.x

Attachments

Additional information