Ticket #3894 (closed defect: fixed)

Opened 9 months ago

Last modified 4 months ago

Ctrl+A shortcut when "Single window for everything" selected does not work as expected

Reported by: vArDo Owned by: asterix
Priority: normal Milestone: 0.12
Component: chat Version: svn
Severity: normal Keywords: keybinding roster select chat window shortcut conflict
Cc: OS: All

Description

Reproduction:

  1. put Gajim is in "Single window for everything" mode
  2. put focus on message textview or chat history (i.e. start writing a message)
  3. hit Ctrl+A

Expected: select all text in message textview (or whole conversation history in chat window).

What happens: Gajim pops-up 'Accounts' window. This is because shortcut is taken from roster window and as chat window and roster are the same window here, standard shortcuts are overridden for whole chat window also.

Attachments

Change History

in reply to: ↑ 1   Changed 5 months ago by yvesf

Maybe its possible to prevent this with gtk.Widget's key-press-event (return True to stop other handlers) if message entry is focused?

I just updated to -svn and stumble on this. Very bad because i often rewrite the whole message with CTRL-A

in reply to: ↑ 1   Changed 5 months ago by yvesf

Replying to anonymous:

GNOME HIG wants [Ctrl]+[A]:
<http://developer.gnome.org/projects/gup/hig/draft_hig_new/input-keyboard.html#standard-shortcuts>

Change Accelerator of Accounts MenuItem? to CTRL+SHIFT+A

Index: data/glade/roster_window.glade
===================================================================
--- data/glade/roster_window.glade	(Revision 10228)
+++ data/glade/roster_window.glade	(Arbeitskopie)
@@ -148,7 +148,7 @@
                         <property name="label" translatable="yes">A_ccounts</property>
                         <property name="use_underline">True</property>
                         <signal name="activate" handler="on_accounts_menuitem_activate"/>
-                        <accelerator key="A" modifiers="GDK_CONTROL_MASK" signal="activate"/>
+                        <accelerator key="A" modifiers="GDK_CONTROL_MASK | GDK_SHIFT_MASK" signal="activate"/>
                         <child internal-child="image">
                           <widget class="GtkImage" id="image1610">
                             <property name="visible">True</property>

  Changed 4 months ago by asterix

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.12

(In [10303]) use Ctrl+Shift+A to open acctouns window. Fixes #3894

Add/Change #3894 (Ctrl+A shortcut when "Single window for everything" selected does not work as expected)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.