Bug 162640 - Cursor at the wrong position in the Basic IDE (25.2 master only)
Summary: Cursor at the wrong position in the Basic IDE (25.2 master only)
Status: RESOLVED DUPLICATE of bug 162603
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, possibleRegression
Depends on:
Blocks: BASIC-IDE
  Show dependency treegraph
 
Reported: 2024-08-26 12:33 UTC by Rafael Lima
Modified: 2024-08-26 13:33 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing the problem (125.33 KB, image/png)
2024-08-26 12:38 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2024-08-26 12:33:04 UTC
Since a few days ago, I started having a problem with the cursor position in the Basic IDE. For some reason, the cursor is being displayed behind its actual location. For instance, if you click past the last character in a line, the cursor will be drawn at a prior position; but typing characters will add them to the last position.

This problem is mostly noticeable when the line is long (more than 50 characters)

Steps to reproduce
1) Using LO 25.2 master, open the Basic IDE
2) Open any existing module (f.i. Application Macros - Access2Base - License)
3) Click past the end of a long line (in the aforementioned module, lines 4-7 are good examples)
4) Notice that the cursor will be placed at the wrong position

Another example
1) In the Basic IDE, open an editable module (f.i. My Macros - Standard - Module1)
2) Start typing a macro
3) Notice that as you type, the cursor starts lagging behind; after 50 characters, it is way behind

Only present in the current 25.2 master since a few days ago. Probably a very recent regression.

Not present in

Version: 24.8.0.1.0+ (X86_64) / LibreOffice Community
Build ID: 9bba9dede3def626e3adab6696a911762e25b7ff
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded
Comment 1 Rafael Lima 2024-08-26 12:38:22 UTC
Created attachment 196029 [details]
Screenshot showing the problem
Comment 2 Buovjaga 2024-08-26 13:08:41 UTC
Not seeing this now after f18d56d298cc9ec9c1c6e0ad4ffce63afc40e2c2, can you build again?
Comment 3 Rafael Lima 2024-08-26 13:33:58 UTC
(In reply to Buovjaga from comment #2)
> Not seeing this now after f18d56d298cc9ec9c1c6e0ad4ffce63afc40e2c2, can you
> build again?

Yeah... I had built from yesterday's code. This patch fixed the issue.

Glad to know it has already being taken care of.

*** This bug has been marked as a duplicate of bug 162603 ***