Bug 138441 - Exception thrown when a macro is assigned first time to a hyperlink in the form button
Summary: Exception thrown when a macro is assigned first time to a hyperlink in the fo...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-23 21:40 UTC by An-Kh
Modified: 2021-02-25 21:12 UTC (History)
3 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 An-Kh 2020-11-23 21:40:20 UTC
When you assign a macro to the hyperlink in button form for the first time, exceptions are thrown.


Steps to reproduce :

1. Click on Insert -> Hyperlink -> Document -> Select the form as "Button" -> Give some name to the button in the field "text", (say "click me") -> Click on apply -> Ok

2.Right click the button on the sheet in "Design Mode" and click on "Control properties".

3. In the events tab click on "mouse button pressed"

4.Assign a Macro.

"Access violation reading location" exception is thrown

Expected Output:

No exception should be thrown.
Comment 1 raal 2020-12-09 20:59:45 UTC
No repro Version: 7.2.0.0.alpha0+
Build ID: b541cd9a8038810ce449f8c49ae179d9d6eaa7e8
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

Please copy and paste here the contents of your Help - About from your LibreOffice. This allows us to know more about your system.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 2 An-Kh 2021-02-17 17:37:15 UTC
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 6b15a8658f369e4144251854bcdb736acb595f47
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: default; VCL: win
Locale: en-IN (en_IN); UI: en-US
Calc: threaded
Comment 3 Buovjaga 2021-02-24 11:29:57 UTC
No exception for me.

Is your file location something special, like a network drive?

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 385808a2dff7300ec0120fdd5e8acfad8f86e50d
CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded
Comment 4 An-Kh 2021-02-25 21:11:53 UTC
(In reply to Buovjaga from comment #3)
> No exception for me.
> 
> Is your file location something special, like a network drive?
> 
> Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
> Build ID: 385808a2dff7300ec0120fdd5e8acfad8f86e50d
> CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL:
> win
> Locale: fi-FI (fi_FI); UI: en-US
> Calc: threaded

Hi

Sorry for the late reply.. I noticed that the exception thrown is a handled exception. Visual Studio has breakpoints whenever the exceptions are thrown.. 
There is no need for this bug..