Bug 661274 - gtk-auto-mnemonics cancel text selection when Alt is pressed
Summary: gtk-auto-mnemonics cancel text selection when Alt is pressed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gtk3
Version: 19
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-08 11:53 UTC by Kamil Páral
Modified: 2013-04-08 21:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-08 21:04:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
bug demonstration video (2.59 MB, video/ogg)
2010-12-08 11:53 UTC, Kamil Páral
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 628689 0 low CLOSED gtk-auto-mnemonics cannot be disabled for Clearlooks 2021-02-22 00:41:40 UTC

Internal Links: 628689

Description Kamil Páral 2010-12-08 11:53:00 UTC
Created attachment 467459 [details]
bug demonstration video

Description of problem:
For Clearlooks (or Fedora) theme gtk-auto-mnemonics is enabled. It has a side effect that if you select a non-editable text field and then press Alt (which shows mnemonics), the text selection is canceled. This way it is very hard to do a text selection in one application and paste it with middle mouse button into a second application, because you can't use Alt+Tab to switch those applications.

On the other hand, when I use Crux theme (which has gtk-auto-mnemonics disabled), the text selection is not canceled by pressing Alt.

This is a regression of behavior.

See attached demonstration video.

Version-Release number of selected component (if applicable):
gtk2-engines-2.20.1-2.fc14.x86_64

How reproducible:
always

Steps to Reproduce:
1. use Clearlooks (Fedora) theme, open gedit, open About tab
2. select some text
3. press Alt
  
Actual results:
selection is lost

Expected results:
selection is retained

Additional info:
This problem is only worsened by bug #628689 (gtk-auto-mnemonics cannot be disabled for Clearlooks).

Comment 1 Kamil Páral 2010-12-08 12:01:01 UTC
According to mclasen's blogpost [1] adding Thomas Wood to CC.

[1] http://blogs.fedoraproject.org/wp/mclasen/2010/03/24/mnemonics/

Comment 2 Kamil Páral 2012-03-01 12:19:52 UTC
This is still a problem with gtk3 gedit - Alt key cancels X selection buffer. Selected text is unselected and you can't use middle click for pasting.

Comment 3 Matthias Clasen 2012-03-07 19:25:55 UTC
I've filed https://bugzilla.gnome.org/show_bug.cgi?id=671588 about the underlying issue.

Comment 4 Fedora End Of Life 2013-04-03 18:49:18 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19


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