Bug 93489 - MsgBox needs a scrollbar to prevent it from getting outside the screen
Summary: MsgBox needs a scrollbar to prevent it from getting outside the screen
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) All
: medium enhancement
Assignee: Not Assigned
Depends on:
Blocks: Scrollbars
  Show dependency treegraph
Reported: 2015-08-17 18:12 UTC by sworddragon2
Modified: 2017-02-12 14:48 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:
Regression By:


Note You need to log in before you can comment on or make changes to this bug.
Description sworddragon2 2015-08-17 18:12:04 UTC
For example on calling MsgBox(ThisComponent.dbg_methods) from a macro the text in the appearing subwindow is too much so that the subwindow overflows and hiding the OK button and the rest of the text. I think if the text causes the subwindow to overflow there should appear scrollbars so that it is always possible to click the OK button and to make a look at all the text.
Comment 1 raal 2015-08-25 12:50:35 UTC

Thank you for filing the bug. Please send us a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO', so please do change it back to 'UNCONFIRMED' once you have attached a document.
(Please note that the attachment will be public, remove any sensitive information before attaching it.)
How can I eliminate confidential data from a sample document?
Thank you
Comment 2 sworddragon2 2015-08-26 08:52:13 UTC
I think attaching a document for executing this simple macro would be overkill. But here are the steps to reproduce:

1. Open Writer.
2. Go to the menu bar -> Tools -> Macros -> "Organize Macros" -> "LibreOffice Basic..." -> Edit.
3. Insert the line "MsgBox(ThisComponent.dbg_methods)" between "Sub Main" and "End Sub".
4. Click on "Run BASIC (F5)".
Comment 3 raal 2015-08-26 09:38:20 UTC
Reproducible with LO 5.0

Setting as new.