problem with POS modal window in Linux.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

problem with POS modal window in Linux.

Daniel P
Hi,

I am experiencing a big issue using OFBiz Point-Of-Sale application over Linux (Debian Etch) with Java JDK 1.5.0.x

The problem is that the POS main screen behaves like a modal blocking window in Linux. Once the main screen is displayed, you cannot switch to another window of the system with Alt+Tab. What is worst, when the application tries to display an "Alert message" (like for example "Product Not Found" when you press SKU) the alert is actually presented behind the main screen, instead of on top of it. So, you cannot accept the message and you can neither do anything with the main screen: the application is blocked. Then I have to log in with a different TTY and kill the java process.

This behaviour is not reproduced over Windows XP with the same Java JDK: you can swith to other application with Alt+Tab and alert messages are properly displayed in top.

I just wanted to ask if anyone has tried POS over Linux and experienced such a problem. I'm a newbie to OFBiz and maybe I am doing something wrong. Otherwise, this is a big issue that has to be put in Jira. BTW, should I put the issue in Jira myself or is it restricted to developers ?

Please advice,

Daniel.


               
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
Reply | Threaded
Open this post in threaded view
|

Re: problem with POS modal window in Linux.

David E Jones-2

I'm pretty sure this is a feature rather than a bug... ;)

In most POS environments you don't want employees exiting the  
application and fooling around with the system.

Of course, it's probably not hard to turn off that option, perhaps  
even in one of the XUI files. Hopefully Jacques or Andy or someone  
with more POS experience can chime in on that particular.

-David


On Dec 28, 2006, at 1:21 AM, Daniel P wrote:

> Hi,
>
> I am experiencing a big issue using OFBiz Point-Of-Sale application  
> over Linux (Debian Etch) with Java JDK 1.5.0.x
>
> The problem is that the POS main screen behaves like a modal  
> blocking window in Linux. Once the main screen is displayed, you  
> cannot switch to another window of the system with Alt+Tab. What is  
> worst, when the application tries to display an "Alert  
> message" (like for example "Product Not Found" when you press SKU)  
> the alert is actually presented behind the main screen, instead of  
> on top of it. So, you cannot accept the message and you can neither  
> do anything with the main screen: the application is blocked. Then  
> I have to log in with a different TTY and kill the java process.
>
> This behaviour is not reproduced over Windows XP with the same Java  
> JDK: you can swith to other application with Alt+Tab and alert  
> messages are properly displayed in top.
>
> I just wanted to ask if anyone has tried POS over Linux and  
> experienced such a problem. I'm a newbie to OFBiz and maybe I am  
> doing something wrong. Otherwise, this is a big issue that has to  
> be put in Jira. BTW, should I put the issue in Jira myself or is it  
> restricted to developers ?
>
> Please advice,
>
> Daniel.
>
>
>
> ______________________________________________
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com

Reply | Threaded
Open this post in threaded view
|

Re: problem with POS modal window in Linux.

Daniel P
David,
   
  I can understand than the POS screen is a modal window by design in order to avoid employees accessing other applications. However, note that the BIG issue here is that in Linux, POS Alert messages boxes are displayed behind the main screen, so you cannot close them, and so the application is blocked (this only happens to me in Linux, not windows, it doesn't seem a design issue.).
   
  Let's hope Jacques, Andy or others can give me a clue with this ;)
 
Daniel
 

David E Jones <[hidden email]> escribió:
 
I'm pretty sure this is a feature rather than a bug... ;)

In most POS environments you don't want employees exiting the
application and fooling around with the system.

Of course, it's probably not hard to turn off that option, perhaps
even in one of the XUI files. Hopefully Jacques or Andy or someone
with more POS experience can chime in on that particular.

-David


On Dec 28, 2006, at 1:21 AM, Daniel P wrote:

> Hi,
>
> I am experiencing a big issue using OFBiz Point-Of-Sale application
> over Linux (Debian Etch) with Java JDK 1.5.0.x
>
> The problem is that the POS main screen behaves like a modal
> blocking window in Linux. Once the main screen is displayed, you
> cannot switch to another window of the system with Alt+Tab. What is
> worst, when the application tries to display an "Alert
> message" (like for example "Product Not Found" when you press SKU)
> the alert is actually presented behind the main screen, instead of
> on top of it. So, you cannot accept the message and you can neither
> do anything with the main screen: the application is blocked. Then
> I have to log in with a different TTY and kill the java process.
>
> This behaviour is not reproduced over Windows XP with the same Java
> JDK: you can swith to other application with Alt+Tab and alert
> messages are properly displayed in top.
>
> I just wanted to ask if anyone has tried POS over Linux and
> experienced such a problem. I'm a newbie to OFBiz and maybe I am
> doing something wrong. Otherwise, this is a big issue that has to
> be put in Jira. BTW, should I put the issue in Jira myself or is it
> restricted to developers ?
>
> Please advice,
>
> Daniel.
>
>
>
> ______________________________________________
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com



 
---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
Reply | Threaded
Open this post in threaded view
|

Re: problem with POS modal window in Linux.

rajsaini
In reply to this post by Daniel P
Hi Deniel,

I am facing similar problem on Ubuntu Edgy 6.10 and symptoms are exactly
same what you have mentioned. My JDK version is 1.5.0_7.

Thanks,

Raj
Daniel P wrote:

> Hi,
>
> I am experiencing a big issue using OFBiz Point-Of-Sale application over Linux (Debian Etch) with Java JDK 1.5.0.x
>
> The problem is that the POS main screen behaves like a modal blocking window in Linux. Once the main screen is displayed, you cannot switch to another window of the system with Alt+Tab. What is worst, when the application tries to display an "Alert message" (like for example "Product Not Found" when you press SKU) the alert is actually presented behind the main screen, instead of on top of it. So, you cannot accept the message and you can neither do anything with the main screen: the application is blocked. Then I have to log in with a different TTY and kill the java process.
>
> This behaviour is not reproduced over Windows XP with the same Java JDK: you can swith to other application with Alt+Tab and alert messages are properly displayed in top.
>
> I just wanted to ask if anyone has tried POS over Linux and experienced such a problem. I'm a newbie to OFBiz and maybe I am doing something wrong. Otherwise, this is a big issue that has to be put in Jira. BTW, should I put the issue in Jira myself or is it restricted to developers ?
>
> Please advice,
>
> Daniel.
>
>
>
> ______________________________________________
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com
>  

Reply | Threaded
Open this post in threaded view
|

Re: problem with POS modal window in Linux.

Jacques Le Roux
Administrator
In reply to this post by Daniel P
Hi Daniel,

1. Alt+Tab problem
I just tried on updated Ubuntu 6.06 LTS (Dapper Drake) using last svn (rev. 490054) and Sun JDK 1.4.2_08 without any problems at all
(BTW I never saw this problem before but must acknowledge that I'm worling more on XP). Did you try to use your mouse to switch to
another task ? Is it only alt+tab that is not working ? Something strange though : Alt+Tab shows 2 windows for the POS : one
labelled "OFBiz POS" corresponding to inner POS window and another one not labelled at all and corresponding to a frame (you see the
frame only before loging) around what I suppose is the main  window (the inner one). This last window may also corresponds to the
splash screen not closed(?) because when lauching the POS I see one window without name related to the POS.

2. When (for instance) the "Product not found" dialog box is (normally) shown.
In this case I can see also 2 POS related tasks with alt+tab and may access to others (non OFBiz POS) tasks without any problems.
But YES I'm caught in POS and can't get back to it because the "Product not found" dialog box is no more accessible. Now if you try
to do same thing with the modal box that appears when you use "Save Sale" you get the same behaviour. I tested this because these 2
windows are not build in the same way. "Save Sale"  is a pure XUI window.

So yes there are problems on Linux. I will create a new Jira issue for this. BTW I confirm that they are no problems on Windows.

Thanks

Jacques


From: "Daniel P" <[hidden email]>
Hi,

I am experiencing a big issue using OFBiz Point-Of-Sale application over Linux (Debian Etch) with Java JDK 1.5.0.x

The problem is that the POS main screen behaves like a modal blocking window in Linux. Once the main screen is displayed, you cannot
switch to another window of the system with Alt+Tab. What is worst, when the application tries to display an "Alert message" (like
for example "Product Not Found" when you press SKU) the alert is actually presented behind the main screen, instead of on top of it.
So, you cannot accept the message and you can neither do anything with the main screen: the application is blocked. Then I have to
log in with a different TTY and kill the java process.

This behaviour is not reproduced over Windows XP with the same Java JDK: you can swith to other application with Alt+Tab and alert
messages are properly displayed in top.

I just wanted to ask if anyone has tried POS over Linux and experienced such a problem. I'm a newbie to OFBiz and maybe I am doing
something wrong. Otherwise, this is a big issue that has to be put in Jira. BTW, should I put the issue in Jira myself or is it
restricted to developers ?

Please advice,

Daniel.



______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com

Reply | Threaded
Open this post in threaded view
|

Re: problem with POS modal window in Linux.

Jacques Le Roux
Administrator
In reply to this post by Daniel P
Daniel,

I forgot to say that, of course, OFBiz Jira is open to everyone registered and you might have created an issue for this.
For this time is already done, please see : http://issues.apache.org/jira/browse/OFBIZ-567

Thanks

Jacques

----- Original Message -----
From: "Daniel P" <[hidden email]>
To: <[hidden email]>
Sent: Thursday, December 28, 2006 10:16 AM
Subject: Re: problem with POS modal window in Linux.


> David,
>
>   I can understand than the POS screen is a modal window by design in order to avoid employees accessing other applications.
However, note that the BIG issue here is that in Linux, POS Alert messages boxes are displayed behind the main screen, so you cannot
close them, and so the application is blocked (this only happens to me in Linux, not windows, it doesn't seem a design issue.).

>
>   Let's hope Jacques, Andy or others can give me a clue with this ;)
>
> Daniel
>
>
> David E Jones <[hidden email]> escribió:
>
> I'm pretty sure this is a feature rather than a bug... ;)
>
> In most POS environments you don't want employees exiting the
> application and fooling around with the system.
>
> Of course, it's probably not hard to turn off that option, perhaps
> even in one of the XUI files. Hopefully Jacques or Andy or someone
> with more POS experience can chime in on that particular.
>
> -David
>
>
> On Dec 28, 2006, at 1:21 AM, Daniel P wrote:
>
> > Hi,
> >
> > I am experiencing a big issue using OFBiz Point-Of-Sale application
> > over Linux (Debian Etch) with Java JDK 1.5.0.x
> >
> > The problem is that the POS main screen behaves like a modal
> > blocking window in Linux. Once the main screen is displayed, you
> > cannot switch to another window of the system with Alt+Tab. What is
> > worst, when the application tries to display an "Alert
> > message" (like for example "Product Not Found" when you press SKU)
> > the alert is actually presented behind the main screen, instead of
> > on top of it. So, you cannot accept the message and you can neither
> > do anything with the main screen: the application is blocked. Then
> > I have to log in with a different TTY and kill the java process.
> >
> > This behaviour is not reproduced over Windows XP with the same Java
> > JDK: you can swith to other application with Alt+Tab and alert
> > messages are properly displayed in top.
> >
> > I just wanted to ask if anyone has tried POS over Linux and
> > experienced such a problem. I'm a newbie to OFBiz and maybe I am
> > doing something wrong. Otherwise, this is a big issue that has to
> > be put in Jira. BTW, should I put the issue in Jira myself or is it
> > restricted to developers ?
> >
> > Please advice,
> >
> > Daniel.
> >
> >
> >
> > ______________________________________________
> > LLama Gratis a cualquier PC del Mundo.
> > Llamadas a fijos y móviles desde 1 céntimo por minuto.
> > http://es.voice.yahoo.com
>
>
>
>
> ---------------------------------
>
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com

Reply | Threaded
Open this post in threaded view
|

Re: problem with POS modal window in Linux.

Andrew Zeneski
In reply to this post by Daniel P
I fought with this "bug" for a long time, and was hoping that Java  
1.5 on Linux would solve the problem. Then again, it may be a window  
manager issue; as I think when I switched to a very light window  
manager (can't for the life of me remember which one) for the POS  
terminals I was able to avoid the problem.

Alt-Tab was never disabled in the main window, I used to just  
configure a special user login which had access to no applications  
(due to the fact it was a mini-window manager) and ran the POS  
application on login; logged out when the terminal was closed.  
Disabling alt-tab in this case was not necessary.

Again, I really think this is a window manager issue. Maybe try  
different managers and see if you have different results?

Andrew




On Dec 28, 2006, at 4:16 AM, Daniel P wrote:

> David,
>
>   I can understand than the POS screen is a modal window by design  
> in order to avoid employees accessing other applications. However,  
> note that the BIG issue here is that in Linux, POS Alert messages  
> boxes are displayed behind the main screen, so you cannot close  
> them, and so the application is blocked (this only happens to me in  
> Linux, not windows, it doesn't seem a design issue.).
>
>   Let's hope Jacques, Andy or others can give me a clue with this ;)
>
> Daniel
>
>
> David E Jones <[hidden email]> escribió:
>
> I'm pretty sure this is a feature rather than a bug... ;)
>
> In most POS environments you don't want employees exiting the
> application and fooling around with the system.
>
> Of course, it's probably not hard to turn off that option, perhaps
> even in one of the XUI files. Hopefully Jacques or Andy or someone
> with more POS experience can chime in on that particular.
>
> -David
>
>
> On Dec 28, 2006, at 1:21 AM, Daniel P wrote:
>
>> Hi,
>>
>> I am experiencing a big issue using OFBiz Point-Of-Sale application
>> over Linux (Debian Etch) with Java JDK 1.5.0.x
>>
>> The problem is that the POS main screen behaves like a modal
>> blocking window in Linux. Once the main screen is displayed, you
>> cannot switch to another window of the system with Alt+Tab. What is
>> worst, when the application tries to display an "Alert
>> message" (like for example "Product Not Found" when you press SKU)
>> the alert is actually presented behind the main screen, instead of
>> on top of it. So, you cannot accept the message and you can neither
>> do anything with the main screen: the application is blocked. Then
>> I have to log in with a different TTY and kill the java process.
>>
>> This behaviour is not reproduced over Windows XP with the same Java
>> JDK: you can swith to other application with Alt+Tab and alert
>> messages are properly displayed in top.
>>
>> I just wanted to ask if anyone has tried POS over Linux and
>> experienced such a problem. I'm a newbie to OFBiz and maybe I am
>> doing something wrong. Otherwise, this is a big issue that has to
>> be put in Jira. BTW, should I put the issue in Jira myself or is it
>> restricted to developers ?
>>
>> Please advice,
>>
>> Daniel.
>>
>>
>>
>> ______________________________________________
>> LLama Gratis a cualquier PC del Mundo.
>> Llamadas a fijos y móviles desde 1 céntimo por minuto.
>> http://es.voice.yahoo.com
>
>
>
>  
> ---------------------------------
>
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: problem with POS modal window in Linux.

Jacques Le Roux
Administrator
Thanks Andy,

I hope somebody will try soon and report as well.

Jacques

----- Original Message -----
From: "A. Zeneski" <[hidden email]>
To: <[hidden email]>
Sent: Friday, December 29, 2006 5:46 PM
Subject: Re: problem with POS modal window in Linux.


I fought with this "bug" for a long time, and was hoping that Java
1.5 on Linux would solve the problem. Then again, it may be a window
manager issue; as I think when I switched to a very light window
manager (can't for the life of me remember which one) for the POS
terminals I was able to avoid the problem.

Alt-Tab was never disabled in the main window, I used to just
configure a special user login which had access to no applications
(due to the fact it was a mini-window manager) and ran the POS
application on login; logged out when the terminal was closed.
Disabling alt-tab in this case was not necessary.

Again, I really think this is a window manager issue. Maybe try
different managers and see if you have different results?

Andrew




On Dec 28, 2006, at 4:16 AM, Daniel P wrote:

> David,
>
>   I can understand than the POS screen is a modal window by design
> in order to avoid employees accessing other applications. However,
> note that the BIG issue here is that in Linux, POS Alert messages
> boxes are displayed behind the main screen, so you cannot close
> them, and so the application is blocked (this only happens to me in
> Linux, not windows, it doesn't seem a design issue.).
>
>   Let's hope Jacques, Andy or others can give me a clue with this ;)
>
> Daniel
>
>
> David E Jones <[hidden email]> escribió:
>
> I'm pretty sure this is a feature rather than a bug... ;)
>
> In most POS environments you don't want employees exiting the
> application and fooling around with the system.
>
> Of course, it's probably not hard to turn off that option, perhaps
> even in one of the XUI files. Hopefully Jacques or Andy or someone
> with more POS experience can chime in on that particular.
>
> -David
>
>
> On Dec 28, 2006, at 1:21 AM, Daniel P wrote:
>
>> Hi,
>>
>> I am experiencing a big issue using OFBiz Point-Of-Sale application
>> over Linux (Debian Etch) with Java JDK 1.5.0.x
>>
>> The problem is that the POS main screen behaves like a modal
>> blocking window in Linux. Once the main screen is displayed, you
>> cannot switch to another window of the system with Alt+Tab. What is
>> worst, when the application tries to display an "Alert
>> message" (like for example "Product Not Found" when you press SKU)
>> the alert is actually presented behind the main screen, instead of
>> on top of it. So, you cannot accept the message and you can neither
>> do anything with the main screen: the application is blocked. Then
>> I have to log in with a different TTY and kill the java process.
>>
>> This behaviour is not reproduced over Windows XP with the same Java
>> JDK: you can swith to other application with Alt+Tab and alert
>> messages are properly displayed in top.
>>
>> I just wanted to ask if anyone has tried POS over Linux and
>> experienced such a problem. I'm a newbie to OFBiz and maybe I am
>> doing something wrong. Otherwise, this is a big issue that has to
>> be put in Jira. BTW, should I put the issue in Jira myself or is it
>> restricted to developers ?
>>
>> Please advice,
>>
>> Daniel.
>>
>>
>>
>> ______________________________________________
>> LLama Gratis a cualquier PC del Mundo.
>> Llamadas a fijos y móviles desde 1 céntimo por minuto.
>> http://es.voice.yahoo.com
>
>
>
>
> ---------------------------------
>
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com


Reply | Threaded
Open this post in threaded view
|

Re: problem with POS modal window in Linux.

Daniel P
Dear all,
   
  More details on my investigations on the POS issue I reported on this list on 28/12/06, (issue OFBIZ-567)
   
  - With Linux (Debian Etch), and JDK 1.5, the issue reproduces as I reported previously: application is completely blocked with alert windows because they are not shown on front of screen. The same for various desktop managers: Gnome and  other 'light window managers' as xfce4 and icevm-lite. Tested also with both XuiCoreSwing_v2_0_6_jdk1_4.jar and XuiCoreSwing_v2_0_6_jdk1_5.jar
   
  - With Linux (Debian Etch), and JDK 1.4 (1.4.2_13), the issue does not reproduce, whichever window manager is used. However in this case there is a residual issue, as reported by Jacques Le Roux: when an 'alert' window is displayed, if you click in another part of the window, the 'alert' dissapears but the main screen is blocked (waiting user confirmation of the hidden alert). Depending on the window manager you use, you can switch again to the alert window to recover control: this has been tested successfully with a 'light' window manager (icevm-lite) as suggested by Andy Zeneski. However, this is not possible with Gnome: the alert window is not reachable.
   
   
  Being the biggest issue with the JDK 1.5, I would suggest to check whether this is really an issue with the SUN JDK1.5 virtual machine for Linux, or maybe a compatibility issue between XUI and JDK 1.5
   
  Apart from this, for the smaller issues with JDK 1.4, the alert windows may need to be modal, so that the user is forced to accept before switching to another window.
   
  Best Regards,
  Daniel.


Jacques Le Roux <[hidden email]> escribió:
  Thanks Andy,

I hope somebody will try soon and report as well.

Jacques

----- Original Message -----
From: "A. Zeneski"
To:
Sent: Friday, December 29, 2006 5:46 PM
Subject: Re: problem with POS modal window in Linux.


I fought with this "bug" for a long time, and was hoping that Java
1.5 on Linux would solve the problem. Then again, it may be a window
manager issue; as I think when I switched to a very light window
manager (can't for the life of me remember which one) for the POS
terminals I was able to avoid the problem.

Alt-Tab was never disabled in the main window, I used to just
configure a special user login which had access to no applications
(due to the fact it was a mini-window manager) and ran the POS
application on login; logged out when the terminal was closed.
Disabling alt-tab in this case was not necessary.

Again, I really think this is a window manager issue. Maybe try
different managers and see if you have different results?

Andrew




On Dec 28, 2006, at 4:16 AM, Daniel P wrote:

> David,
>
> I can understand than the POS screen is a modal window by design
> in order to avoid employees accessing other applications. However,
> note that the BIG issue here is that in Linux, POS Alert messages
> boxes are displayed behind the main screen, so you cannot close
> them, and so the application is blocked (this only happens to me in
> Linux, not windows, it doesn't seem a design issue.).
>
> Let's hope Jacques, Andy or others can give me a clue with this ;)
>
> Daniel
>
>
> David E Jones escribió:
>
> I'm pretty sure this is a feature rather than a bug... ;)
>
> In most POS environments you don't want employees exiting the
> application and fooling around with the system.
>
> Of course, it's probably not hard to turn off that option, perhaps
> even in one of the XUI files. Hopefully Jacques or Andy or someone
> with more POS experience can chime in on that particular.
>
> -David
>
>
> On Dec 28, 2006, at 1:21 AM, Daniel P wrote:
>
>> Hi,
>>
>> I am experiencing a big issue using OFBiz Point-Of-Sale application
>> over Linux (Debian Etch) with Java JDK 1.5.0.x
>>
>> The problem is that the POS main screen behaves like a modal
>> blocking window in Linux. Once the main screen is displayed, you
>> cannot switch to another window of the system with Alt+Tab. What is
>> worst, when the application tries to display an "Alert
>> message" (like for example "Product Not Found" when you press SKU)
>> the alert is actually presented behind the main screen, instead of
>> on top of it. So, you cannot accept the message and you can neither
>> do anything with the main screen: the application is blocked. Then
>> I have to log in with a different TTY and kill the java process.
>>
>> This behaviour is not reproduced over Windows XP with the same Java
>> JDK: you can swith to other application with Alt+Tab and alert
>> messages are properly displayed in top.
>>
>> I just wanted to ask if anyone has tried POS over Linux and
>> experienced such a problem. I'm a newbie to OFBiz and maybe I am
>> doing something wrong. Otherwise, this is a big issue that has to
>> be put in Jira. BTW, should I put the issue in Jira myself or is it
>> restricted to developers ?
>>
>> Please advice,
>>
>> Daniel.
>>
>>
>>
>> ______________________________________________
>> LLama Gratis a cualquier PC del Mundo.
>> Llamadas a fijos y móviles desde 1 céntimo por minuto.
>> http://es.voice.yahoo.com
>
>
>
>
> ---------------------------------
>
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com




 __________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.yahoo.es 
Reply | Threaded
Open this post in threaded view
|

Re: problem with POS modal window in Linux.

Jacques Le Roux
Administrator
Daniel,

Thanks for thorough try. The problem (as you may remember) is that the alert windows *is already* modal as you may verify using M$
Windows where it works without *any* problems. Hence my proposition in
https://issues.apache.org/jira/browse/OFBIZ-567#action_12461766. BTW under Windows we see only one task when switching with Alt+Tab.

Jacques

From: "Daniel P" <[hidden email]>
> Dear all,
>
>   More details on my investigations on the POS issue I reported on this list on 28/12/06, (issue OFBIZ-567)
>
>   - With Linux (Debian Etch), and JDK 1.5, the issue reproduces as I reported previously: application is completely blocked with
alert windows because they are not shown on front of screen. The same for various desktop managers: Gnome and  other 'light window
managers' as xfce4 and icevm-lite. Tested also with both XuiCoreSwing_v2_0_6_jdk1_4.jar and XuiCoreSwing_v2_0_6_jdk1_5.jar
>
>   - With Linux (Debian Etch), and JDK 1.4 (1.4.2_13), the issue does not reproduce, whichever window manager is used. However in
this case there is a residual issue, as reported by Jacques Le Roux: when an 'alert' window is displayed, if you click in another
part of the window, the 'alert' dissapears but the main screen is blocked (waiting user confirmation of the hidden alert). Depending
on the window manager you use, you can switch again to the alert window to recover control: this has been tested successfully with a
'light' window manager (icevm-lite) as suggested by Andy Zeneski. However, this is not possible with Gnome: the alert window is not
reachable.
>
>
>   Being the biggest issue with the JDK 1.5, I would suggest to check whether this is really an issue with the SUN JDK1.5 virtual
machine for Linux, or maybe a compatibility issue between XUI and JDK 1.5
>
>   Apart from this, for the smaller issues with JDK 1.4, the alert windows may need to be modal, so that the user is forced to
accept before switching to another window.

>
>   Best Regards,
>   Daniel.
>
>
> Jacques Le Roux <[hidden email]> escribió:
>   Thanks Andy,
>
> I hope somebody will try soon and report as well.
>
> Jacques
>
> ----- Original Message -----
> From: "A. Zeneski"
> To:
> Sent: Friday, December 29, 2006 5:46 PM
> Subject: Re: problem with POS modal window in Linux.
>
>
> I fought with this "bug" for a long time, and was hoping that Java
> 1.5 on Linux would solve the problem. Then again, it may be a window
> manager issue; as I think when I switched to a very light window
> manager (can't for the life of me remember which one) for the POS
> terminals I was able to avoid the problem.
>
> Alt-Tab was never disabled in the main window, I used to just
> configure a special user login which had access to no applications
> (due to the fact it was a mini-window manager) and ran the POS
> application on login; logged out when the terminal was closed.
> Disabling alt-tab in this case was not necessary.
>
> Again, I really think this is a window manager issue. Maybe try
> different managers and see if you have different results?
>
> Andrew
>
>
>
>
> On Dec 28, 2006, at 4:16 AM, Daniel P wrote:
>
> > David,
> >
> > I can understand than the POS screen is a modal window by design
> > in order to avoid employees accessing other applications. However,
> > note that the BIG issue here is that in Linux, POS Alert messages
> > boxes are displayed behind the main screen, so you cannot close
> > them, and so the application is blocked (this only happens to me in
> > Linux, not windows, it doesn't seem a design issue.).
> >
> > Let's hope Jacques, Andy or others can give me a clue with this ;)
> >
> > Daniel
> >
> >
> > David E Jones escribió:
> >
> > I'm pretty sure this is a feature rather than a bug... ;)
> >
> > In most POS environments you don't want employees exiting the
> > application and fooling around with the system.
> >
> > Of course, it's probably not hard to turn off that option, perhaps
> > even in one of the XUI files. Hopefully Jacques or Andy or someone
> > with more POS experience can chime in on that particular.
> >
> > -David
> >
> >
> > On Dec 28, 2006, at 1:21 AM, Daniel P wrote:
> >
> >> Hi,
> >>
> >> I am experiencing a big issue using OFBiz Point-Of-Sale application
> >> over Linux (Debian Etch) with Java JDK 1.5.0.x
> >>
> >> The problem is that the POS main screen behaves like a modal
> >> blocking window in Linux. Once the main screen is displayed, you
> >> cannot switch to another window of the system with Alt+Tab. What is
> >> worst, when the application tries to display an "Alert
> >> message" (like for example "Product Not Found" when you press SKU)
> >> the alert is actually presented behind the main screen, instead of
> >> on top of it. So, you cannot accept the message and you can neither
> >> do anything with the main screen: the application is blocked. Then
> >> I have to log in with a different TTY and kill the java process.
> >>
> >> This behaviour is not reproduced over Windows XP with the same Java
> >> JDK: you can swith to other application with Alt+Tab and alert
> >> messages are properly displayed in top.
> >>
> >> I just wanted to ask if anyone has tried POS over Linux and
> >> experienced such a problem. I'm a newbie to OFBiz and maybe I am
> >> doing something wrong. Otherwise, this is a big issue that has to
> >> be put in Jira. BTW, should I put the issue in Jira myself or is it
> >> restricted to developers ?
> >>
> >> Please advice,
> >>
> >> Daniel.
> >>
> >>
> >>
> >> ______________________________________________
> >> LLama Gratis a cualquier PC del Mundo.
> >> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> >> http://es.voice.yahoo.com
> >
> >
> >
> >
> > ---------------------------------
> >
> > LLama Gratis a cualquier PC del Mundo.
> > Llamadas a fijos y móviles desde 1 céntimo por minuto.
> > http://es.voice.yahoo.com
>
>
>
>
>  __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
> Regístrate ya - http://correo.yahoo.es