[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XForms] ALT+? Input Repeat

From: Serge Bromow
Subject: [XForms] ALT+? Input Repeat
Date: Sat, 10 Jul 2010 09:57:54 -0400
User-agent: Thunderbird (X11/20100228)

Hi Jens,

Here is an odd problem. Using a simple form with 1 Exit button (see code below) the following occurs;

>From a terminal start program $ test_main
Press ALT+x to exit program.

The program exits amd the terminal displays a constant stream of lower case 'x's. A ctrl-C usually stops it. Without stopping the stream open a new terminal or any program with an input field and the steam continues in those fields.

This happens using OpenSuse 11.2. Fedora 5 and 13 work fine. Redhat 7.3 fine, Ubuntu 10.4 fine. Compiled 1.0.90 and 1.0.93pre1. Same problem. Compiled in Suse or Fedora 5, same thing.

So something unique about Suse configuration. So from the desktop I;

I turn off compiz in favour of Metacity. Same problem.
Turn off Metacity so there is no window decoration. Same problem.
Start X only and xterm and it seems to work as expected. i.e no repeating characters.

If the shortcut is ALT+S then 's' 's  stream in the input field.

Any Thoughts?


/* Form definition file generated with fdesign. */

#include "forms.h"
#include <stdlib.h>
#include "test.h"

FD_test *create_form_test(void)
  FL_OBJECT *obj;
  FD_test *fdui = (FD_test *) fl_calloc(1, sizeof(*fdui));
  int old_bw = fl_get_border_width();

  fdui->test = fl_bgn_form(FL_NO_BOX, 320, 250);
  fdui->back = obj = fl_add_box(FL_FLAT_BOX,0,0,320,250,"");
  fdui->ex = obj = fl_add_button(FL_NORMAL_BUTTON,105,95,110,50,"Exit");

  fdui->test->fdui = fdui;

  return fdui;
FD_test    *fd_test;

int main(int argc, char *argv[])
FL_OBJECT    *ob = 0;

fl_initialize(&argc, argv, 0, 0, 0);
fd_test = create_form_test();

/* show the first form */
while( 1 ) {
    ob = fl_do_forms();
     if( ob == fd_test->ex ) {

Serge Bromow
DineAmix Inc.
(613) 260-8629
888 411-6636
Ottawa, Canada.

IMPORTANT NOTICE: This message is intended only for the use of the individual or entity to which it is addressed. The message may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify DineAmix Inc. immediately by email at address@hidden.

Thank you.

Please Consider the Environment before Printing the E-Mail. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]