Bug 143414 - Command-V on OS X does not paste in database table
Summary: Command-V on OS X does not paste in database table
Status: RESOLVED DUPLICATE of bug 140992
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
7.1.3.2 release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-16 20:37 UTC by Herouth Maoz
Modified: 2021-07-19 15:12 UTC (History)
1 user (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 Herouth Maoz 2021-07-16 20:37:34 UTC
Description:
When editing the contents of a table (adding new records) in a database, on a Mac, the combinationg Command-V does not actually paste the string from the clipboard. When tabbing to the next field, the pasted text disappears. Pasting still works if selected from the contextual menu, but not using the standard keyboard shortcut.

Note that the pasted text *appears* in the cell, but when tabbing to the next cell, it disappears.

Steps to Reproduce:
1.Create a database - any database will do, but embedded Firebird is enough for reproducing (the bug also exists in Postgresql native and via JDBC).
2.Create a table with two fields that allows editing. Using Tools>SQL, use CREATE TABLE TEST_TABLE (F1 VARCHAR(100) PRIMARY KEY NOT NULL, F2 VARCHAR(100)) 
3.Close and reopen the database so that the table is visible.
4.Click on the table to open it for editing.
5.Copy a short text from somewhere else.
6.Use command-V to paste the text in field F1.
7.Tab to field F2.



Actual Results:
The text disappears. If you try to save the record (enter a value in F2 and press return), you get an error message as there is a not-null constraint on F1, proving that the text is not there.

Expected Results:
The text should not disappear. It should behave the same as when using the contextual menu and selecting 'paste'.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.1.4.2 / LibreOffice Community
Build ID: a529a4fab45b75fefc5b6226684193eb000654f6
CPU threads: 8; OS: Mac OS X 10.14.6; UI render: default; VCL: osx
Locale: en-US (en_IL.UTF-8); UI: en-US
Calc: threaded
Comment 1 Robert Großkopf 2021-07-17 06:19:22 UTC
Could it be this is a duplicate of bug 140992 ? 
Title of that bug hasn't shown it has something to do with copy and paste, so I changed the title of bug 140992.
Comment 2 Alex Thurgood 2021-07-19 15:12:08 UTC

*** This bug has been marked as a duplicate of bug 140992 ***