Bug 145272 - Save button deactivated after pasting in a global macro module
Summary: Save button deactivated after pasting in a global macro module
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: BASIC (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: preBibisect, regression
Depends on:
Blocks: Toolbars
  Show dependency treegraph
 
Reported: 2021-10-22 09:11 UTC by Frederic Parrenin
Modified: 2023-04-20 14: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 Frederic Parrenin 2021-10-22 09:11:10 UTC
I teach basic programming for 1st years at univ using LO macros.
I have remarked a common problem that students face.
When you paste a text in a macro module (for example a code section that you copied from elsewhere), the "Save" button in the toolbar is deactivated.
You need, for example, to click on "Standard" just above the module name, so that this "Save" button becomes active.
This is a small annoying problem that I hope will be fixed.
Comment 1 raal 2022-10-05 16:01:12 UTC
No repro with Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: a0bc0cc81b597aa81189355a8125753d6b873cce
CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded
Comment 2 Frederic Parrenin 2022-10-05 17:55:05 UTC
I can still repro in 7.4.1.2.
Comment 3 Buovjaga 2023-02-16 17:51:36 UTC
It is active for me all the time.

Please copy and paste here the contents of your Help - About (LibreOffice - About on macOS) by clicking the copy button. This allows us to know more about your system.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b63bffc2bb5a68d1f21e4035dde9a60429c9173c
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 16 February 2023
Comment 4 Frederic Parrenin 2023-02-20 11:08:26 UTC
This is the information from Help > About:

Version: 7.4.5.1 / LibreOffice Community
Build ID: 40(Build:1)
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+wayland)
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Debian package version: 4:7.4.5-2
Calc: threaded

I can still reproduce, for example when pasting a macro in "My macros and dialog boxes". The "save" button does not get active, until I click on "Standard".
Comment 5 Buovjaga 2023-02-20 12:05:41 UTC
(In reply to Frederic Parrenin from comment #4)
> This is the information from Help > About:
> 
> Version: 7.4.5.1 / LibreOffice Community
> Build ID: 40(Build:1)
> CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+wayland)
> Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
> Debian package version: 4:7.4.5-2
> Calc: threaded
> 
> I can still reproduce, for example when pasting a macro in "My macros and
> dialog boxes". The "save" button does not get active, until I click on
> "Standard".

Do you also reproduce in an X11 session?
Comment 6 Frederic Parrenin 2023-02-20 12:18:18 UTC
> Do you also reproduce in an X11 session?

Yes, and also on Windows.
Comment 7 Buovjaga 2023-02-20 12:22:53 UTC
Ok, I can repro with a global module, but not in a module associated with a document.

Arch Linux 64-bit, X11
Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: 50(Build:3)
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
7.5.0-1
Calc: threaded
Comment 8 Stéphane Guillou (stragu) 2023-04-19 23:15:57 UTC
I could already reproduce this issue in:

Version: 6.0.0.3
Build ID: 64a0f66915f38c6217de274f0aa8e15618924765
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk2; 
Locale: en-AU (en_AU.UTF-8); Calc: group

But not in OOo 3.3, so it was a regression somewhere along the way.

Still reproduced in a recent master build:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 61b41646c5a93ca24f2c9f143cdb0da2c9258989
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

This only happens if the paste is the first action after opening the editor.
Changing focus to another window, then back to the editor restore the save button.
Comment 9 Buovjaga 2023-04-20 14:12:38 UTC
Already in oldest of Linux 43all repo