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 in text copy #713

Open
eshagh79 opened this issue Sep 4, 2021 · 9 comments
Open

Bug in text copy #713

eshagh79 opened this issue Sep 4, 2021 · 9 comments
Labels

Comments

@eshagh79
Copy link

eshagh79 commented Sep 4, 2021

Hi, thanks for creating this great app.

I am using version 2.4.2 and 3.0.6 of the poedit program on Ubuntu 21.04.
This problem occurs when I am on the wayland window system. This problem does not exist when I am on x.org.

Problem: When I copy a text "translation" or "source text" from poedit, I can not copy it in Firefox browser.
And in some other programs, such as the following, the text was inserted incomprehensibly.
I tried VisualCode, and it still had problems.
The same problem continued with an online translator program (Translatium-18.1.1)

this problem does not occur in other applications such as gedit or gnome-terminal.

To recreate it, copy and paste a non-ascii text such as into poedit, and then try copying it again from poedit and pasting it into Firefox or other programs.
If you try the English text, the result will be different.This means that it is not only pasted in Firefox and may be pasted correctly in other programs.
نماگرفت از 2021-09-04 11-13-26

@vslavik vslavik added the Linux label Sep 4, 2021
@vslavik
Copy link
Owner

vslavik commented Sep 4, 2021

Please read http://www.chiark.greenend.org.uk/~sgtatham/bugs.html and provide precise and accurate reproduction steps. "Paste non-ascii text" is vague - what text, from where exactly, etc. is missing. The version numbers you provide are inaccurate - no such thing as Poedit "3.0.6" exists. You don't say what source you got Poedit from etc.

@eshagh79
Copy link
Author

eshagh79 commented Sep 4, 2021

You are right, I explained very bad.
But because I do not know English well and I write these with the help of Google Translator. If you do not understand some of my words, I apologize.
In the version, I wrote wrong. I meant (3.0-6)

I was using version (2.4.2), and I found this problem, and I thought maybe in newer versions this problem has been fixed, so the new version (3.0-6) for Ubuntu 21.10, I installed it manually on my operating system.
https://launchpad.net/ubuntu/impish/amd64/poedit/3.0-6

To reproduce the problem:
۰. You need Ubuntu OS and wayland window system (I tested on Ubuntu 21.04)

  1. Save the text below in a file called new.po
    ‍`msgid ""
    msgstr ""
    "Language: fa\n"
    "MIME-Version: 1.0\n"
    "Content-Type: text/plain; charset=UTF-8\n"
    "Content-Transfer-Encoding: 8bit\n"
    "Plural-Forms: nplurals=1; plural=0;\n"
    "X-Generator: Poedit 3.0\n"
    "Project-Id-Version: \n"
    "POT-Creation-Date: \n"
    "PO-Revision-Date: \n"
    "Last-Translator: eshagh eshagh094@gmail.com\n"
    "Language-Team: \n"

msgid "ا، ب، ث، …"
msgstr "ا، ب، ث، …"`
2. Poedit the new.po file with the program
3. Copy the string into the "Source text" or "Translation" field
4. Open the Firefox browser, and try to paste the text into it

  • I am using Firefox 91.0 64 bit

Additional information
In some programs, such as gedit, the text is copied correctly. And no problem.
But in others, it is incomprehensibly pasted

I ask other people in the Persian Ubuntu Association to investigate this problem and I will put the result here. Maybe this is just my problem.

@vslavik
Copy link
Owner

vslavik commented Sep 4, 2021

In some programs, such as gedit, the text is copied correctly. And no problem.

Then why do you think it is a Poedit issue, and not a Firefox one?

In some programs, such as gedit, the text is copied correctly. And no problem.
But in others, it is incomprehensibly pasted

Please be more specific than "some" and "others".

@eshagh79
Copy link
Author

eshagh79 commented Sep 4, 2021

Maybe Firefox has a problem, I should probably raise the same problem there. Because I was waiting for the copied text to be placed incomprehensibly.

I can not say for sure that all the programs insert the wrong text, because I did not try all the programs. I raised these issues at the Ubuntu forum of Iran and I am waiting for them to respond.

I will write the result here.

I also pasted the text I copied from poedit into the Opera browser, and the text became as incomprehensible as I expected.

@eshagh79
Copy link
Author

eshagh79 commented Sep 4, 2021

This may also be a problem from wayland, as it does not exist on the X11.
But since I did not see this problem in other programs on wayland, I made the possibility to describe the problem here first.

@vslavik
Copy link
Owner

vslavik commented Oct 9, 2021

Can you please check snap install poedit --channel=beta ? It has updated runtime with some other Wayland fixes.

@eshagh79
Copy link
Author

Hi.
It is still the same as before.
When I copy text from Firefox and send it to poedit, the text is copied correctly.
But when I copy text from poedit, it is not sent in Firefox, but it is sent correctly in gnome terminal and gedit.

snap list:
Name Version Rev Tracking Publisher Notes
poedit 3.0 35 latest/stable vslavik -

@eshagh79 eshagh79 closed this as completed Apr 3, 2022
@vslavik
Copy link
Owner

vslavik commented Apr 3, 2022

Please don't close issues without explanation. It's rude after you asked us to spend time on it, and is counterproductive.

@vslavik vslavik reopened this Apr 3, 2022
@eshagh79
Copy link
Author

eshagh79 commented Apr 3, 2022

Sorry, I thought you would not like to work on this problem after this time.

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

No branches or pull requests

2 participants