Bug 146329 - Macro editor check (F7) unable copy value of variable
Summary: Macro editor check (F7) unable copy value of variable
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0 all versions
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-20 09:49 UTC by edil
Modified: 2023-05-17 10:05 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 edil 2021-12-20 09:49:39 UTC
Description:
While debug basic code step by step, with check F7 I see the variable value in the bottom window.
If there I selected the value, in LibreOffice 6 I was able to copy that value and then paste, now with LO 7 it is not possible. If the variable is a large string, I am able to paste it in Notepad++ end examine all.
This is VERY IMPORTANT for debug.

Steps to Reproduce:
1.Open macro Basic with Alt+F11 and select a macro
2.F8 and run step by step, select a variable and F7 for his value 
3.In the bottom window select the variable value and context menu ... nothing

Actual Results:
No context menu (mouse right button)

Expected Results:
Open Context menu with Copy Value option


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: it
Module: SpreadsheetDocument

Version: 7.1.8.1 (x64) / LibreOffice Community
Build ID: e1f30c802c3269a1d052614453f260e49458c82c
CPU threads: 16; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: it-IT
Calc: CL

[Information guessed from browser]
OS: Windows (All)
OS is 64bit: yes
Comment 1 Leslie 2021-12-22 18:46:19 UTC
It seems to work for me.  
Variable contents are selectable in the watch window and the copy option comes up in the context menu and copies the contents to the clipboard.  

Version: 7.2.3.2 (x64) / LibreOffice Community
Build ID: d166454616c1632304285822f9c83ce2e660fd92
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 raal 2022-11-06 21:23:18 UTC
No repro with Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cfc8a8f5d841b3f84d207196153be67da7f60652
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: x11
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

and Version: 7.3.6.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: cs-CZ
Ubuntu package version: 1:7.3.6-0ubuntu0.22.04.2
Calc: threaded

Please test with newer version.
Comment 3 QA Administrators 2023-05-06 12:51:23 UTC Comment hidden (obsolete)
Comment 4 edil 2023-05-07 13:31:29 UTC
The problem is NOT resolved on my two pc, with 2 LO versions.
It is impossible to select a Variable in debug mode, F7, no context menu' and impossible to copy to clipboard.

Version: 7.4.2.3 (x64) / LibreOffice Community
Build ID: 382eef1f22670f7f4118c8c2dd222ec7ad009daf
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: it-IT
Calc: threaded
Comment 5 Buovjaga 2023-05-15 13:41:00 UTC
Just to be clear, you expect that you can right-click a value in the Watch section and see a context menu?

You say that in LibreOffice 6 you were able to do this? However, I tested with LibreOffice 6.0 just now and no context menu opens. So please tell me which version shows the context menu.
Comment 6 edil 2023-05-16 20:42:58 UTC
Now I have just tested in LO 5.4.7.2(X64). 
In debug steb by step I click on a variable and F7 , I see that  in the watch window, the value is selectable with click of mouse and the copy option comes up in the context menu and copies the value in the clipboard. I can paste value in note book or elsewhwre.

This is very useful when examine big string variable.
Comment 7 Buovjaga 2023-05-17 10:05:31 UTC
(In reply to edil from comment #6)
> Now I have just tested in LO 5.4.7.2(X64). 
> In debug steb by step I click on a variable and F7 , I see that  in the
> watch window, the value is selectable with click of mouse and the copy
> option comes up in the context menu and copies the value in the clipboard. I
> can paste value in note book or elsewhwre.
> 
> This is very useful when examine big string variable.

Ok, now I got it: I didn't know I need to left-click once on the value. It works fine for me after that in 7.5 and other versions on Windows.