Bug 91107 - Cut/Copy/Paste/"Select All" are active while they shouldn't
Summary: Cut/Copy/Paste/"Select All" are active while they shouldn't
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.4.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: low trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Clipboard
  Show dependency treegraph
 
Reported: 2015-05-06 06:57 UTC by sworddragon2
Modified: 2023-02-09 12:07 UTC (History)
2 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 sworddragon2 2015-05-06 06:57:04 UTC
I'm noticing in Calc and Writer that the Paste action is not disabled while the clipboard is empty. Also in Calc the actions Cut and Copy are active if the input line has the focus without selecting anything. Maybe other parts of LibreOffice are affected too but I haven't tested them.
Comment 1 sworddragon2 2015-05-06 08:06:33 UTC
I'm also noticing that this happens for the entry "Select All" in Writer while the document is empty and in Calc while the input line is empty.
Comment 2 Buovjaga 2015-05-12 10:06:34 UTC
Installed xsel so I could clear clipboard by doing
xsel -bc

After that, the paste action was disabled everywhere in LibreOffice.

If I do Select all in a totally empty Writer document, nothing happens to copy & cut (they don't become active).

Ubuntu 15.04 64-bit 
Version: 4.4.2.2
Build ID: 40m0(Build:2)
Locale: en_US
Comment 3 sworddragon2 2015-05-12 12:08:37 UTC
I'm using xsel for clearing and Ubuntu 15.04 as system too but the actions are not disabled here even if I'm setting LANG to en_US.utf8. Also maybe you want to test the Cut/Copy issue in Calc as I have described it to see if it happens for you there too.
Comment 4 Buovjaga 2015-05-12 13:14:52 UTC
(In reply to sworddragon2 from comment #3)
> I'm using xsel for clearing and Ubuntu 15.04 as system too but the actions
> are not disabled here even if I'm setting LANG to en_US.utf8. Also maybe you
> want to test the Cut/Copy issue in Calc as I have described it to see if it
> happens for you there too.

Yes, I see cut/copy as active in Calc right away, but you have to create a new report for that one.
Comment 5 Gabriele Ponzo 2016-11-29 23:47:01 UTC
I can confirm same behavior in 5.3 x64 Elementary Linux Freya 0.3 (Ubuntu 14.04)

I've also given xsel -bc but paste in Writer is still active (only in Edit Menu, NOT on std toolbar).

From the same menu, Select All is active even in a new blank document. Doing it doesn't activate paste on std toolbar (in menu it's always on).

Version: 5.3.0.0.beta1
Build ID: 690f553ecb3efd19143acbf01f3af4e289e94536
CPU Threads: 4; OS Version: Linux 4.4; UI Render: default; VCL: gtk2; Layout Engine: new; 
Locale: it-IT (it_IT.UTF-8); Calc: group
Comment 6 Buovjaga 2016-11-30 06:46:06 UTC
NEW per comment 5
Comment 7 Gabriele Ponzo 2018-02-05 15:03:26 UTC
I can confirm same behavior in 6.1 x64 Elementary Linux Freya 0.3 (Ubuntu 14.04)

I've also given xsel -bc but paste in Writer is still active (only in Edit Menu, NOT on std toolbar).

From the same menu, Select All is active even in a new blank document. Doing it doesn't activate paste on std toolbar (in menu it's always on).

Version: 6.1.0.0.alpha0+
Build ID: 33f0eefd60c9f0ae56593583f094f025e00f3d35
CPU threads: 4; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-02-04_23:51:32
Locale: it-IT (it_IT.UTF-8); Calc: group
Comment 8 QA Administrators 2019-02-06 03:50:31 UTC Comment hidden (obsolete)
Comment 9 Gabriele Ponzo 2019-02-07 23:48:22 UTC
I can confirm same behavior in 6.2.0.3 x64 Elementary Linux Freya 0.3 (Ubuntu 14.04)

I've also given xsel -bc but paste in Writer is still active (only in Edit Menu, NOT on std toolbar).

From the same menu, Select All is active even in a new blank document. Doing it doesn't activate paste on std toolbar (in menu it's always on).

Versione: 6.2.0.3
Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
Thread CPU: 4; SO: Linux 4.15; Resa interfaccia: predefinito; VCL: gtk2; 
Versione locale: it-IT (it_IT.UTF-8); Lingua interfaccia: it-IT
Calc: threaded
Comment 10 QA Administrators 2021-02-07 04:18:47 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2023-02-08 03:24:47 UTC Comment hidden (obsolete)
Comment 12 Gabriele Ponzo 2023-02-09 12:07:49 UTC
I can confirm same behavior in 7.4.5.1 x64 Linux Mint 20.3 (Ubuntu 22.04)

I've also given xsel -bc but paste in Writer is still active (only in Edit Menu, NOT on std toolbar).

From the same menu, Select All is active even in a new blank document. Doing it doesn't activate paste on std toolbar (in menu it's always on).

Version: 7.4.5.1 / LibreOffice Community
Build ID: 40(Build:1)
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: it-IT (it_IT.UTF-8); UI: it-IT
Ubuntu package version: 1:7.4.5-0ubuntu0.20.04.1~lo1
Calc: threaded