Bug 152174 - Horizontal scrollbar in Basic IDE should be inside the code edit area
Summary: Horizontal scrollbar in Basic IDE should be inside the code edit area
Status: RESOLVED DUPLICATE of bug 86568
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.2.6.2 release
Hardware: All All
: medium enhancement
Assignee: Rafael Lima
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-22 17:09 UTC by Rafael Lima
Modified: 2022-12-03 19:36 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshots showing the problem (191.60 KB, image/png)
2022-11-22 17:09 UTC, Rafael Lima
Details
Video showing the new scrollbar (158.42 KB, video/mp4)
2022-12-03 18:54 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2022-11-22 17:09:45 UTC
Created attachment 183720 [details]
Screenshots showing the problem

Open the Basic IDE and notice a horizontal scrollbar at the bottom of the window. It seems pointless and I can't figure out what it's supposed to control.

Moreover, it does not use all the available horizontal spacing, hence it feels like a bug.

See attached screenshot for more info.

Repro since at least

Version: 7.2.6.2 / LibreOffice Community
Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754
CPU threads: 12; OS: Linux 5.19; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded
Comment 1 nutka 2022-11-23 09:22:42 UTC
Obviously the horizontal scrollbar at the bottom of the window
serves to scroll content in the Basic Editor (code box).
It seems that new location of the scrollbar was introduced in version 5.2.0
(cf. Issue 86568 and Issue 96683).

(In reply to Rafael Lima from comment #0)
> Moreover, it does not use all the available horizontal spacing, hence it
> feels like a bug.
Do you mean that little, almost black rectangle in your screenshot?
Comment 2 Roman Kuznetsov 2022-11-23 11:41:38 UTC
nutka is absolutely right, the scrollbar should be just inside the code edit area and if you will enter so much symbols in only one row then you'll see the scrollbar changed and works as should
Comment 3 Rafael Lima 2022-12-03 18:51:38 UTC
Patch available for review at:

https://gerrit.libreoffice.org/c/core/+/143580
Comment 4 Rafael Lima 2022-12-03 18:54:28 UTC
Created attachment 183980 [details]
Video showing the new scrollbar

The proposed patch creates a separate horizontal scrollbar for the code editor window. The dialog editor window remains unchanged.
Comment 5 Adolfo Jayme Barrientos 2022-12-03 19:34:13 UTC

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