Bug 2151603 - Cannot copy/paste text from geany to other applications after updating gtk3
Summary: Cannot copy/paste text from geany to other applications after updating gtk3
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk3
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-07 15:42 UTC by Kai Engert
Modified: 2023-05-25 17:51 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-05-25 17:51:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kai Engert 2022-12-07 15:42:08 UTC
I'm on Fedora 36 using 
geany-1.38-2.fc36.x86_64

I'm selecting text and then the "copy" action.
(Either by pressing CTRl-C or selecting copy from the menu.)

Then I go to any other application, such as Thunderbird of xfce-terminal or gnome-terminal or gedit, and I try to paste:

Actual results:
Nothing happens. Nothing is pasted.

This is a regression. This broke recently.

Comment 1 Kai Engert 2022-12-12 17:50:11 UTC
I've got confirmation that it isn't just me.

I also confirmed it isn't based on my config - with a fresh user account to problem happens, too.

Comment 2 Kai Engert 2022-12-12 17:51:30 UTC
Changing component to the "gtk3" package, apparently it is responsible for the regression.

I booted a fresh fedora-36 live system.
I installed geany.
Tried copy paste from geany to terminal: works
Then I updated a single package: "dnf update gtk3".
Quit Geany, tried again.

Now it's broken.

Comment 3 Kai Engert 2022-12-12 17:57:21 UTC
On my primary work system, I reverted to this package:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1968304
gtk3-3.24.34-1.fc36.x86_64

That is sufficient to avoid the regression.
All other packages on my system are up to date.

Comment 4 Kai Engert 2022-12-12 18:52:24 UTC
I've identified the patch that is responsible for the regression (based on discussions I found):

https://gitlab.gnome.org/GNOME/gtk/-/commit/0c1ea9221976b838101d2593754b658808fdc542

I've rebuilt the latest 3.24.35-1 package locally - with the above patch reverted - which fixes the regression (this bug) for me.

Comment 5 Kai Engert 2022-12-12 18:55:13 UTC
This upstream issue has links to other bugs/patches that helped me to "guess" the change in gtk3 that caused the regression:
https://github.com/geany/geany/issues/3345

Comment 6 Kai Engert 2022-12-12 19:17:29 UTC
The STR from comment 2 behave exactly the same on a fedora 37 live system.

Comment 7 Kai Engert 2022-12-12 19:24:54 UTC
I found this upstream issue:
https://gitlab.gnome.org/GNOME/gtk/-/issues/5397

With this patch:
https://gitlab.gnome.org/GNOME/gtk/-/commit/eca445672a48ac4a870790efa63339f8d974c2fd

I will test it with a local rebuild on f36.

Comment 8 Kai Engert 2022-12-12 19:35:40 UTC
Confirmed, applying the patch worked with a local rpm build of the latest package.

Kindly requesting to include the fix in the official package, thank you.

Comment 9 Ben Cotton 2023-04-25 18:14:49 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 10 Ludek Smid 2023-05-25 17:51:37 UTC
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16.

Fedora Linux 36 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.