Bug 126146 - Pasting to text box keeps pasting old contents in certain scenarios
Summary: Pasting to text box keeps pasting old contents in certain scenarios
Status: RESOLVED DUPLICATE of bug 126316
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.4.0.0.alpha1+
Hardware: All Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Paste
  Show dependency treegraph
 
Reported: 2019-06-28 10:32 UTC by Buovjaga
Modified: 2019-07-17 12:58 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 Buovjaga 2019-06-28 10:32:14 UTC
1. Open Draw
2. Draw a shape and type something to it, do not leave edit mode
3. Copy something from an external application
4. Try to paste in the text box

It pastes the existing text box contents instead of the new text.

Trying various steps, it seems to fail most reliably, when you try to paste while having some text selected in the text box.

No problem with 4.3.0.

I will try to bibisect later.

Version: 6.4.0.0.alpha0+ (x64)
Build ID: 9a2fbfa3cc1da8bd9388d5b4c780e86f0dccc791
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-06-25_23:12:21
Locale: fi-FI (fi_FI); UI-Language: en-US
Calc: threaded

(same result without GL)
Comment 1 Buovjaga 2019-06-28 19:51:42 UTC
Bibisected with win32-6.3 to https://gerrit.libreoffice.org/plugins/gitiles/core/+/ce9795954d3957e98d24bf711869efd846df6f15%5E!/

fix crash in header/footer calc dialog

cut and paste can happen when the EditView isn't in a vcl::Window

Adding Cc: to Caolán McNamara

Best way to repro

1. Open Draw
2. Draw a shape and type something to it, deselect the shape
3. Copy something from an external application
4. Focus into the text in the shape and select the text
5. Paste
Comment 2 raal 2019-07-14 17:27:07 UTC
works for me in Version: 6.4.0.0.alpha0+
Build ID: 9b7729c6e224dfbe89e309aab8e8fd392fc234ad
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
probably Win only
Comment 3 Caolán McNamara 2019-07-15 15:41:42 UTC
Is this fixed with the fix for bug #126316 ?
Comment 4 Buovjaga 2019-07-15 16:20:42 UTC
(In reply to Caolán McNamara from comment #3)
> Is this fixed with the fix for bug #126316 ?

I will test when new Win builds arrive from Tinderboxes.
Comment 5 QA Administrators 2019-07-16 02:46:56 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2019-07-17 12:58:00 UTC
Thanks, looks like it is fixed.

Version: 6.4.0.0.alpha0+ (x86)
Build ID: c738be4de6886a0c96b7d10df7e78c8b2964c135
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: fi-FI (fi_FI); UI-Language: en-US
Calc: threaded

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