Bug 578319 - Pasting text with Ctrl-v into Open Type "Enter type name ..." field often ignores the paste attempt
Summary: Pasting text with Ctrl-v into Open Type "Enter type name ..." field often ign...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.22   Edit
Hardware: PC Windows 10
: P3 normal with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-21 19:25 EST by David M. Karr CLA
Modified: 2022-05-12 04:38 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David M. Karr CLA 2022-01-21 19:25:21 EST
Since I installed 2021-12, I've noticed that if I try to paste a class name into the search field in the Open Type dialog, using Ctrl-v, it often ignores my attempt.  It doesn't do this all the time, just very often.

Sometimes if I enter initial text into the field and then press Ctrl-v, it will paste it.  I saw that work earlier today, but right now I can't get it to work at all.

I do see that using the mouse to execute the Paste operation does work, so it seems like there's something wrong with mapping to a key binding, but again, sometimes it works.
Comment 1 Nicolai Fabisch CLA 2022-04-26 08:27:13 EDT
(In reply to David M. Karr from comment #0)
> It doesn't do this all the time, just very often.

I have the same problem:
Its weird because it depends on selected texts within eclipse AND on the capitalization of the first character. Eclipse will auto-insert a selected text if it matches a possible class name (First character capitalized, no spaces or "-" etc).

Assuming we selected a word like "Buggy" that matches a possible class name:
1. If there is text selected within eclipse the text will be auto-inserted into the seach field and the text will be selected. Here CTRL+V does not work the first time. On first use it will delete the selected text and replace it with nothing. On the second use of CTRL+V it will insert the copied text.

2. If there is no text selected within eclipse the search field will be empty and CTRL+V will work directly on first try
Comment 2 Patrick Schmidt CLA 2022-05-12 04:38:18 EDT
I have the same issue and it's extremely annoying. Sometimes it will paste after several attempts. Sometimes I simply can't get it to paste anything at all. When it doesn't work, it seems to insert the empty string, judging by the fact that it will remove text selected in the Open Type input field.