After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 94022 - ACME isn't active on all displays (multiple screens)
ACME isn't active on all displays (multiple screens)
Status: RESOLVED FIXED
Product: acme
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: Bastien Nocera
Bastien Nocera
Depends on:
Blocks:
 
 
Reported: 2002-09-23 20:05 UTC by Jakub Steiner
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Jakub Steiner 2002-09-23 20:05:23 UTC
I'm running ACME on a two head system without xinerama. if I run acme on
:0, the keys are inactive on :0.1 and vice versa.

I'm using gtk+ 2.0.6 if that matters (probably does).
Comment 1 Bastien Nocera 2002-09-24 21:47:44 UTC
Need to get Gtk+ 2.1.x running on my system to be able to use more
than one display in ACME.
Comment 2 Bastien Nocera 2002-11-23 18:18:31 UTC
Jakub, could you test the current CVS again ?

It needs to include this change:
2002-11-23  Bastien Nocera  <hadess@hadess.net>

        * src/acme.c: (init_kbd), (acme_filter_events), (main):
        use an event filter instead of steal the events from the root
window,
        fixes the crash when changing themes and fonts with Gtk+ 2.1
        (Closes: #99281)

This should be fixing your problem as well.
Comment 3 Bastien Nocera 2002-11-26 00:38:59 UTC
More keywords.
Comment 4 Jakub Steiner 2002-12-12 14:24:01 UTC
I don't know how to provide more info, but using 1.99.10 on gtk 2.1
still didn't make it active on all displays.
Comment 5 Bastien Nocera 2003-01-09 11:39:49 UTC
Can you check current CVS ?

It should work properly, although Xnest doesn't handle this well.

2003-01-09  Bastien Nocera  <hadess@hadess.net>
                                                                     
          
        * configure.in:
        * src/Makefile.am:
        * src/acme.c: (ungrab_key_real), (ungrab_key), (grab_key_real),
        (grab_key), (update_kbd_cb), (init_kbd), (acme_filter_events),
        (main): changes to handle multihead, should help with bug #94022
Comment 6 Bastien Nocera 2003-01-09 12:02:06 UTC
Again, does that work ?

2003-01-09  Bastien Nocera  <hadess@hadess.net>
                                                                     
          
        * src/acme.c: (dialog_show), (acme_filter_events), (main):
        changes to make the window appear on the right screen, when in
        multihead
Comment 7 Jakub Steiner 2003-01-09 13:16:19 UTC
Positive. Accepts input on both displays.
Comment 8 Bastien Nocera 2003-01-09 13:18:17 UTC
With this fix, it should also move the window to the right screen:

2003-01-09  Bastien Nocera  <hadess@hadess.net>
                                                                     
          
        * src/acme.c: (acme_filter_events): typo, was supposed to be
        ==, not !=

Can you confirm ?
Comment 9 Bastien Nocera 2003-01-09 15:33:12 UTC
It works but shows the dialog at 0,0 when switching screens.

gtk+ bug I would guess.
Comment 10 Bastien Nocera 2003-01-09 16:23:25 UTC
-01-09  Bastien Nocera  <hadess@hadess.net>
                                                                     
          
        * src/acme.c: (dialog_show): gtk_widget_realize the window after
        having moved it, otherwise the info about the geometry and moving
        it don't work properly (Closes: #94022)