Description: When a BASIC program runs, user is not allowed to modify it. Trying to do so results in a dialog box "You will have to restart the program after this edit. Continue ?". But using cut, paste or drag & drop allows the user to modify the running program without warning. Steps to Reproduce: 1. Open the macro editor and run a program that takes a while, like Sub Main Do Wait 1000 Loop End Sub 2. Try to change the code while it is running using cut, paste (keyboard shortcut, main menu or contextual menu) or drag & drop Actual Results: The code can be changed at will without warning Expected Results: The same warning dialog box as when a keyboard input occurs should be opened Reproducible: Always User Profile Reset: No Additional Info: Same behavior on Ubuntu & MacOS. Version: 24.2.7.2 (AARCH64) / LibreOffice Community Build ID: 420(Build:2) CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: fr-FR (fr_FR.UTF-8); UI: en-US Ubuntu package version: 4:24.2.7-0ubuntu0.24.04.2 Calc: threaded
Repro with Version: 24.8.4.2 (X86_64) / LibreOffice Community Build ID: 480(Build:2) CPU threads: 16; OS: Linux 6.11; UI render: default; VCL: kf6 (cairo+wayland) Locale: pt-BR (pt_BR.UTF-8); UI: en-US Ubuntu package version: 4:24.8.4-0ubuntu0.24.10.2 Calc: threaded This seems like a bug to me. Setting to NEW.