Bug 134036 - MsgBox with many lines of text moves OK button out of reach
Summary: MsgBox with many lines of text moves OK button out of reach
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-16 10:47 UTC by Mike Kaganski
Modified: 2020-06-16 13:07 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2020-06-16 10:47:06 UTC
> Sub TestMsgbox()
>   Msgbox String(55, Chr(10))
> End Sub

This code shows the message box with many empty lines; and on my system, this makes the OK button almost invisible (only top border of the button is shown in the bottom of the dialog). On different monitor resolutions and/or system font settings, the limit could be different; but anyway: at some amount of the text, the OK button disappears from the dialog (and then the text also starts to be cut, naturally).

The dialog should not allow to move the button out of the view; it must limit the height of the text box accordingly instead.
Comment 1 Caolán McNamara 2020-06-16 12:04:13 UTC
As far as I can see it was always thus. Strikes me as "don't do that then" rather than trying to add some extra error prone complexity.
Comment 2 Mike Kaganski 2020-06-16 13:07:48 UTC
(In reply to Caolán McNamara from comment #1)
> As far as I can see it was always thus. Strikes me as "don't do that then"
> rather than trying to add some extra error prone complexity.

Agree :-) Closing WONTFIX.