LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-06-2001, 05:25 AM   #1
najeeb_a_99
LQ Newbie
 
Registered: Oct 2001
Posts: 7

Rep: Reputation: 0
linux mouse pointer problem


hi,
I am facing a problem on linux, when i run an applet in Netscape6.01 and keep the mouse
pointer on the applet then a simple TextField will take all the keystrokes i.e the TextField
is having the focus when the mouse pointer is on the applet and when i move the mouse
pointer away from the applet then the TextField is not taking any keystrokes i.e when i
move the mouse pinter away from the applet the TextField is losing Focus.
In short, if the mouse pointer is on the applet then the TextField will take all the
keystrokes and if the mouse pointer is not on the applet then it will not take any
keystrokes
I will be very grateful if some one could give me a solution to this problem.
This problem is also there on Netscape4.75
I am using Redhat7.1, Blackdown jdk1.3.1, Netscape6.01
thanks
najeeb
 
Old 10-07-2001, 01:32 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
This is the basic behavior of mwm on solaris. What manager are you using? Also what are your mouse focus settings? You should be able to choose between sloppy, in/out, in, etc...
 
Old 10-08-2001, 01:53 AM   #3
najeeb_a_99
LQ Newbie
 
Registered: Oct 2001
Posts: 7

Original Poster
Rep: Reputation: 0
Re: linux mouse pointer problem

I am facing this problem in Redhat7.1 on both KDE and GNOME. It will be very kind of you, if you could let me as to how can i change my mouse settings so that try it out to solve my problem.
thanks.

Quote:
Originally posted by najeeb_a_99
hi,
I am facing a problem on linux, when i run an applet in Netscape6.01 and keep the mouse
pointer on the applet then a simple TextField will take all the keystrokes i.e the TextField
is having the focus when the mouse pointer is on the applet and when i move the mouse
pointer away from the applet then the TextField is not taking any keystrokes i.e when i
move the mouse pinter away from the applet the TextField is losing Focus.
In short, if the mouse pointer is on the applet then the TextField will take all the
keystrokes and if the mouse pointer is not on the applet then it will not take any
keystrokes
I will be very grateful if some one could give me a solution to this problem.
This problem is also there on Netscape4.75
I am using Redhat7.1, Blackdown jdk1.3.1, Netscape6.01
thanks
najeeb
 
Old 10-08-2001, 02:28 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
That is a feature

You did not say what window manager you are using.

lets say sawfish wm


open terminal in gnome.


type gnomecc


the control center will open

below where it says sawfish window manager in the explorer bar on the left, click on the Focus Behavior

on the right where it says when does the mouse pointer effect the input focus .....


Set it to what you like.


in kde run this command in a terminal

kcmshell kwinoptions


set the focus behavior




You know it would not hurt to look through the menus in your system and see what's in there.


 
Old 10-08-2001, 03:27 AM   #5
najeeb_a_99
LQ Newbie
 
Registered: Oct 2001
Posts: 7

Original Poster
Rep: Reputation: 0
Re: Re: linux mouse pointer problem

The window manager is "gnome-session". I got this information by seeing the file ".Xclients-default"

Quote:
Originally posted by najeeb_a_99
I am facing this problem in Redhat7.1 on both KDE and GNOME. It will be very kind of you, if you could let me as to how can i change my mouse settings so that try it out to solve my problem.
thanks.

 
Old 10-08-2001, 06:55 AM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
gnome-session is not a window manager, the previous post should work.
 
Old 10-08-2001, 08:24 AM   #7
najeeb_a_99
LQ Newbie
 
Registered: Oct 2001
Posts: 7

Original Poster
Rep: Reputation: 0
Re: Re: Re: linux mouse pointer problem

gnome and kde are the window managers, the steps you told me try could not solve the problem.
Actually i have submitted this problem as a bug on the 'mozilla' site and following is the response that i got:


ashuk@eng.sun.com changed:

What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|ashuk@eng.sun.com |edburns@acm.org
Status|UNCONFIRMED |NEW
Component|Java APIs for DOM |OJI
everconfirmed|0 |1
QAContact|avm@sparc.spb.su |pmac@netscape.com



------- Additional Comments From ashuk@eng.sun.com 2001-10-06 11:43 -------
This is an OJI bug. Reassigning to the correct module. BTW, this is a known
problem that shows up because of the difference in the basic toolkits used by
Java and Mozilla for UI widgets. Java AWT uses motif peers (OpenMotif on linux)
and Mozilla uses Gtk peers. These 2 toolkits have a problem passing focus
between them when one type of component is the child of a component of the
other type (Gtk component in a Java component or a Java component inside a Gtk
windows like in your case).

I dont believe there is a fix for this problem either in Gtk or in Motif yet.

Quote:
Originally posted by najeeb_a_99
The window manager is "gnome-session". I got this information by seeing the file ".Xclients-default"

 
Old 10-08-2001, 10:07 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
ok Guess I misunderstood the problem.


How did this conflict come about? I have not seen it.
 
Old 10-09-2001, 12:37 AM   #9
najeeb_a_99
LQ Newbie
 
Registered: Oct 2001
Posts: 7

Original Poster
Rep: Reputation: 0
Re: Re: Re: Re: linux mouse pointer problem

If you want reproduce this problem then compile and run the following in the mozilla or Netscape6.01 browser:

import java.awt.*;
import java.applet.*;
public class Test extends Applet
{
public void start()
{
TextField tf = new TextField(20);
tf.requestFocus();
add(tf);
}
}

Quote:
Originally posted by najeeb_a_99
gnome and kde are the window managers, the steps you told me try could not solve the problem.
Actually i have submitted this problem as a bug on the 'mozilla' site and following is the response that i got:


ashuk@eng.sun.com changed:

What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|ashuk@eng.sun.com |edburns@acm.org
Status|UNCONFIRMED |NEW
Component|Java APIs for DOM |OJI
everconfirmed|0 |1
QAContact|avm@sparc.spb.su |pmac@netscape.com



------- Additional Comments From ashuk@eng.sun.com 2001-10-06 11:43 -------
This is an OJI bug. Reassigning to the correct module. BTW, this is a known
problem that shows up because of the difference in the basic toolkits used by
Java and Mozilla for UI widgets. Java AWT uses motif peers (OpenMotif on linux)
and Mozilla uses Gtk peers. These 2 toolkits have a problem passing focus
between them when one type of component is the child of a component of the
other type (Gtk component in a Java component or a Java component inside a Gtk
windows like in your case).

I dont believe there is a fix for this problem either in Gtk or in Motif yet.

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No mouse pointer in SuSe Linux 9.3 shaakeel Linux - Hardware 1 09-16-2005 11:38 PM
Mouse pointer problem thort Mandriva 1 08-03-2004 05:15 AM
The you have a Mouse Pointer Problem(mouse stick top left)here is the solution. dr4ven Linux - Hardware 0 05-25-2003 06:53 PM
linux java mouse pointer problem najeeb_a_99 Programming 1 10-06-2001 09:00 AM
linux mouse pointer problems najeeb_a_99 Linux - Newbie 0 10-06-2001 05:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration