xforms-development
[Top][All Lists]
Advanced

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

Re: [XForms] ALT+? Input Repeat


From: Serge Bromow
Subject: Re: [XForms] ALT+? Input Repeat
Date: Sat, 10 Jul 2010 13:00:21 -0400
User-agent: Thunderbird 2.0.0.24 (X11/20100228)

Hi Jens,

Since I was fairly sure this was a Suse config issue I started to turn off various startup services until I found the culprit.

It is without a doubt the "gnome-session daemon". This program has had a long history of problems  but could not find anything along the lines of the repeating character after leaving a program with an ALT key.  Before I submit a bug report, is there any Xforms influence that you can think of that would cause this behaviour?

Serge  
 

Serge Bromow wrote:
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?

Serge

----------------------------------------------------
/* 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();

  fl_set_border_width(-1);
  fdui->test = fl_bgn_form(FL_NO_BOX, 320, 250);
  fdui->back = obj = fl_add_box(FL_FLAT_BOX,0,0,320,250,"");
    fl_set_object_color(obj,FL_BLUE,FL_COL1);
  fdui->ex = obj = fl_add_button(FL_NORMAL_BUTTON,105,95,110,50,"Exit");
    fl_set_button_shortcut(obj,"#X",1);
  fl_end_form();

  fdui->test->fdui = fdui;
  fl_set_border_width(old_bw);

  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 */
fl_show_form(fd_test->test,FL_PLACE_CENTERFREE,FL_FULLBORDER,"test");
 
while( 1 ) {
    ob = fl_do_forms();
     if( ob == fd_test->ex ) {
        return(0);
        }
    }

return(0);
}
-------------------------------------
--
Serge Bromow
DineAmix Inc.
<address@hidden>
(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. 

--
Signature
Serge Bromow
DineAmix Inc.
<address@hidden>
(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]