Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1763875 - cut/copy to clipboard sometimes fails
Summary: cut/copy to clipboard sometimes fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk3
Version: 31
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedFreezeException
Depends On:
Blocks: F31FinalBlocker F31FinalFreezeException
TreeView+ depends on / blocked
 
Reported: 2019-10-21 19:34 UTC by Adam Williamson
Modified: 2019-10-24 17:09 UTC (History)
16 users (show)

Fixed In Version: gtk3-3.24.12-3.fc31
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-24 17:09:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME gtk merge_requests 1142 0 None None None 2019-10-21 19:35:35 UTC
GNOME Gitlab GNOME mutter issues 878 0 None None None 2019-10-21 19:35:35 UTC

Description Adam Williamson 2019-10-21 19:34:32 UTC
This is a downstream copy of https://gitlab.gnome.org/GNOME/mutter/issues/878 , filed for F31 blocker/FE purposes. Basically the issue is that sometimes in F31 mutter (I think since the clipboard manager appeared), copying or cutting text just doesn't work - when you go to paste, you get either nothing or whatever was previously copied. If you do a cut, the selected text is erased but not sent to the clipboard (so you basically lose it). At least I and nirik have seen this happen multiple times (it happened to me twice during the blocker review meeting today).

We're not 100% sure we know all the possible circumstances that can cause this, but garnacho at least found one reproducer and has sent a pull request for it.

Comment 1 Adam Williamson 2019-10-21 19:35:35 UTC
Proposing as a Final freeze exception; we can't fix this for the live environment with an update, and it's a super annoying bug (and can even cause you to lose significant content if you hit it when cutting from an app which doesn't have an Undo feature that will undo a cut).

Comment 2 Geoffrey Marr 2019-10-21 19:38:47 UTC
+1 FE

Comment 3 Geoffrey Marr 2019-10-21 19:40:03 UTC
From sgallagh, per conversation on #fedora-qa:

+1 FE

Comment 4 Mohan Boddu 2019-10-21 22:46:34 UTC
+1 FE

Comment 5 Adam Williamson 2019-10-21 22:50:27 UTC
That's +4 (counting me), setting accepted. I'm a bit worried about poking GTK+ this late, but the bug *is* pretty annoying...

Comment 6 Fedora Update System 2019-10-21 23:30:38 UTC
FEDORA-2019-18a505f5ab has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-18a505f5ab

Comment 7 Fedora Update System 2019-10-22 19:35:17 UTC
FEDORA-2019-18a505f5ab has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-18a505f5ab

Comment 8 Adam Williamson 2019-10-22 19:49:20 UTC
For the record, the first attempt to fix this introduced another bug that was if anything worse, so we're not including it in the candidate compose that's building ATM. A fix for *that* bug showed up shortly after we started it, and is in gtk3-3.24.12-3.fc31, which I just edited into the update.

Comment 9 Adam Williamson 2019-10-22 20:39:33 UTC
so I tried to sneak this into the RC without bothering anyone too much about it, but that kinda failed. As mentioned in #c8, we've now got an RC spinning without this fixed.

Given that...I think we ought to at least *consider* it as a blocker under the 'basic functionality' criterion for all apps in Workstation, treating copy/cut/paste as 'basic functionality' of just about every app (try working without it for ten minutes and see how that goes). I think it's at least worth considering. If we ship F31 without fixing this, then occasionally-not-working copy/cut is baked into the live image forever. Also there's one specifically annoying case of this: if you *cut* and hit the bug, in an app which doesn't have an undo function, you lose the text you cut. (This has happened to me more than once with hexchat).

On the other hand - it's not a complete showstopper or anything, and I kinda knew about this for months but didn't report it until yesterday, so you could argue it for waiving as a 'late blocker' too.

I'll ask folks on IRC to take a look at this and vote on it.

Comment 10 Adam Williamson 2019-10-22 20:45:32 UTC
practical consequence of taking this as a blocker would be: we'd cancel the running RC and fire a new one with the second attempt to fix the bug in it. That would cost us a few hours, as that's how long the running RC has been running for. If the second fix still turns out to have problems, we'd then be late enough that we'd probably be looking at a slip.

Comment 11 Stephen Gallagher 2019-10-22 20:45:51 UTC
I'm -1 to block on this. It's a late blocker and while it's ugly and will annoy people, it's fixable with a post-release update. Yes, it'll be present on the Live media, which is unfortunate. I think that if this was the last blocker being considered at a Go/No-Go meeting, we wouldn't slip for this. Particularly since last I heard, the fix we thought we had caused other problems and there's no clear ETA on a "correct" fix.

Comment 12 Stephen Gallagher 2019-10-22 20:46:32 UTC
(In reply to Adam Williamson from comment #10)
> practical consequence of taking this as a blocker would be: we'd cancel the
> running RC and fire a new one with the second attempt to fix the bug in it.
> That would cost us a few hours, as that's how long the running RC has been
> running for. If the second fix still turns out to have problems, we'd then
> be late enough that we'd probably be looking at a slip.

I suggest that we let the current RC complete and fire another one with the proposed fix immediately thereafter. We can decide at Go/No-Go which one to ship.

Comment 13 Adam Williamson 2019-10-22 20:48:06 UTC
by policy we can't fire a new RC just to fix an FE, though. we have broken this policy I think once before, but I kinda would feel sucky about doing it now and asking people to test two RCs almost simultaneously on very short notice. it *is* a choice, though.

also the second one would be getting pretty short on testing time, by the time the first one has finished.

Comment 14 Kevin Fenzi 2019-10-22 22:08:39 UTC
Well, now the compose failed, so we could pull it in as a FE?

Comment 15 Adam Williamson 2019-10-22 22:30:41 UTC
Yeah, were doing that, so blocker status becomes less important again.

Comment 16 Kamil Páral 2019-10-23 10:45:41 UTC
In case it's not already solved, I vote +1 blocker under basic functionality criterion.

Comment 17 Adam Williamson 2019-10-23 14:48:37 UTC
So far anyway it seems to be working and nothing else has broken - it'd be good if you and the other testers can keep an eye out for this while testing.

Comment 18 Fedora Update System 2019-10-23 15:44:17 UTC
gtk3-3.24.12-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-18a505f5ab

Comment 19 Fedora Update System 2019-10-24 17:09:53 UTC
gtk3-3.24.12-3.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


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