Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Paste into Find dialog uses wrong clipboard source #270

Open
zsilet opened this issue Nov 6, 2024 · 0 comments
Open

[BUG] Paste into Find dialog uses wrong clipboard source #270

zsilet opened this issue Nov 6, 2024 · 0 comments

Comments

@zsilet
Copy link

zsilet commented Nov 6, 2024

Cosmic-edit version:
Installed: 0.1.0173083334324.04ad77eb5
Candidate: 0.1.0
173083334324.04ad77eb5
Version table:
*** 0.1.0173083334324.04ad77eb5 1002
1002 http://apt.pop-os.org/staging/master noble/main amd64 Packages
100 /var/lib/dpkg/status
0.1.0
173049648824.04dcae5fa 1001
1001 http://apt.pop-os.org/release noble/main amd64 Packages

Issue/Bug description:
Attempting to copy text from open file contents and paste it into find dialog has unexpected results, as different text ends up getting pasted.

Steps to reproduce:

  1. Open some other editor/terminal/browser (anything that text can be copied/pasted fromto).
  2. Open any file in cosmic-edit.
  3. Verify copy-paste functionality in the edit areas, as follows:
    a) Copy text1 from cosmic-edit, verify that it can be pasted to other application.
    b) Copy text1 from cosmic-edit, verify that it can be pasted in a different area of currently opened cosmic-edit file.
    c) Copy text2 from other application, verify that it can be pasted to currently opened cosmic-edit file.
  4. Verify copy-paste functionality between edit are a Find/Replace dialog
    a) Copy text1 from cosmic-edit
    b) Open Find/Replace dialog (CtrlF/H or menu all behave the same)
    c) Set focus to either find or replace text box, then Ctrl-V to paste
    d) BUG - Notice that text2 is pasted (from step 3c) instead of text1 (from step 4a).

Expected behavior:
Text1 gets pasted, as it was the last thing copied from the open file.

Other notes:

There is actually no way that I have found to copy text from the edit area and paste it into the find/replace dialog. This is obviously very annoying, since most of the time I am trying to find instances of something in the current file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant