You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2006/12/28 14:42:20 UTC

[jira] Created: (OFBIZ-567) Problem with POS modal window on Linux.

Problem with POS modal window on Linux.
---------------------------------------

                 Key: OFBIZ-567
                 URL: http://issues.apache.org/jira/browse/OFBIZ-567
             Project: OFBiz (The Open for Business Project)
          Issue Type: Bug
          Components: pos
    Affects Versions: SVN trunk
         Environment: Linux (no pb on Windows)
            Reporter: Jacques Le Roux
         Assigned To: Jacques Le Roux
            Priority: Critical
             Fix For: SVN trunk


Taken from an user ML thread :

________From: "Daniel P" <le...@yahoo.es>________
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 ?

________From: "Jacques Le Roux" <ja...@les7arts.com>________

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.

BTW I confirm that they are no problems on Windows.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-567) Problem with POS modal window on Linux.

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-567?page=comments#action_12461441 ] 
            
Jacques Le Roux commented on OFBIZ-567:
---------------------------------------

Thanks Peter,

I already use only sdk 1.5 on my dev machine (XpSp2) without any problems. I did not try on Linux but there are already 2 persons who have seen the pb in this case. Our luck is that it's working on Windows : this guarantees us that the pb is not in OFBiz nor in XUI :o).

I think that following Andy's advice the best way is to google for this kind of problem...

I kept this issue open. Because it's really a *critical problem* any help will be appreciated !

> Problem with POS modal window on Linux.
> ---------------------------------------
>
>                 Key: OFBIZ-567
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-567
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>         Environment: Linux (no pb on Windows)
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Critical
>             Fix For: SVN trunk
>
>
> Taken from an user ML thread :
> ________From: "Daniel P" <le...@yahoo.es>________
> 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 ?
> ________From: "Jacques Le Roux" <ja...@les7arts.com>________
> 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.
> BTW I confirm that they are no problems on Windows.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-567) Problem with POS modal window on Linux.

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461766 ] 

Jacques Le Roux commented on OFBIZ-567:
---------------------------------------

I just tried https://jmodalwindow.dev.java.net demo on updated Ubuntu 6.06 LTS (Dapper Drake) and Sun JRE 1.6 :  it works well (Im' rather sure that it works well with other java versions also). By it works well I mean that the modal test option does not behave as our modals : you can ever find it !
This  may be a way to go...

> Problem with POS modal window on Linux.
> ---------------------------------------
>
>                 Key: OFBIZ-567
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-567
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>         Environment: Linux (no pb on Windows)
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Critical
>             Fix For: SVN trunk
>
>
> Taken from an user ML thread :
> ________From: "Daniel P" <le...@yahoo.es>________
> 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 ?
> ________From: "Jacques Le Roux" <ja...@les7arts.com>________
> 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.
> BTW I confirm that they are no problems on Windows.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-567) Problem with POS modal window on Linux.

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463747 ] 

Jacques Le Roux commented on OFBIZ-567:
---------------------------------------

I had a conversation with Andrew Sykes this evening and he told me that it was working well with Fedora Core 3. Finally he tested and it's working for sure with FC3+XFCE. I will try on Xbuntu (or rather on straight Ubuntu + XFCE) tomorrow. Andrew said that I will try on FC3+Gnome also.

So this is no more a stopper for Linux, good news isn'it :o)

> Problem with POS modal window on Linux.
> ---------------------------------------
>
>                 Key: OFBIZ-567
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-567
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>         Environment: Linux (no pb on Windows)
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Critical
>             Fix For: SVN trunk
>
>
> Taken from an user ML thread :
> ________From: "Daniel P" <le...@yahoo.es>________
> 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 ?
> ________From: "Jacques Le Roux" <ja...@les7arts.com>________
> 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.
> BTW I confirm that they are no problems on Windows.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-567) Problem with POS modal window on Linux.

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-567?page=comments#action_12461440 ] 
            
Jacques Le Roux commented on OFBIZ-567:
---------------------------------------

Here is an important comment from Andy Zeneski posted on user ML :

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?


> Problem with POS modal window on Linux.
> ---------------------------------------
>
>                 Key: OFBIZ-567
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-567
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>         Environment: Linux (no pb on Windows)
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Critical
>             Fix For: SVN trunk
>
>
> Taken from an user ML thread :
> ________From: "Daniel P" <le...@yahoo.es>________
> 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 ?
> ________From: "Jacques Le Roux" <ja...@les7arts.com>________
> 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.
> BTW I confirm that they are no problems on Windows.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-567) Problem with POS modal window on Linux.

Posted by "Raj Saini (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463805 ] 

Raj Saini commented on OFBIZ-567:
---------------------------------

I tried it on Ubuntu Edgy 6.10 with various combination of Sun JDKs and associated Swing XUI libs. My findings are:

JDK 1.4.x  + XuiCoreSwing_v2_0_6_jdk1_4 - POS works normal. If error occurs such as "Product Not Found", an error dialog box pops up. Clicking on the error dialog closes dialog box and POS works normal again. Clicking on  POS window without closing the error message sends it  behind the main POS window and POS window becomes unresponsive. alt+tab key can be used to bring the focus on error message and close it.

JDK 1.5.x + XUiCoreSwing_v2_0_6 - Works fine until an error occurs. No error message dialog pops up and POS becomes unresponsive. 

I tried to use XuiCoreSwing_v2_0_7 with JDK 1.4 and compilation failed due to: 

[javac] /home/raj/projects/ofbiz/specialpurpose/pos/src/org/ofbiz/pos/screen/PosScreen.java:288: showPage(java.lang.String) in org.ofbiz.pos.screen.PosScreen cannot override showPage(java.lang.String) in net.xoetrope.xui.XPage; attempting to use incompatible return type
    [javac] found   : org.ofbiz.pos.screen.PosScreen
    [javac] required: net.xoetrope.xui.PageSupport
    [javac]     public PosScreen showPage(String pageName) {



> Problem with POS modal window on Linux.
> ---------------------------------------
>
>                 Key: OFBIZ-567
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-567
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>         Environment: Linux (no pb on Windows)
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Critical
>             Fix For: SVN trunk
>
>
> Taken from an user ML thread :
> ________From: "Daniel P" <le...@yahoo.es>________
> 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 ?
> ________From: "Jacques Le Roux" <ja...@les7arts.com>________
> 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.
> BTW I confirm that they are no problems on Windows.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-567) Problem with POS modal window on Linux.

Posted by "Daniel P (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461883 ] 

Daniel P commented on OFBIZ-567:
--------------------------------

- With Linux (Debian Etch), and JDK 1.5, the issue reproduces as I reported previously. 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 jvm 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.


> Problem with POS modal window on Linux.
> ---------------------------------------
>
>                 Key: OFBIZ-567
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-567
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>         Environment: Linux (no pb on Windows)
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Critical
>             Fix For: SVN trunk
>
>
> Taken from an user ML thread :
> ________From: "Daniel P" <le...@yahoo.es>________
> 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 ?
> ________From: "Jacques Le Roux" <ja...@les7arts.com>________
> 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.
> BTW I confirm that they are no problems on Windows.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-567) Problem with POS modal window on Linux.

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461889 ] 

Jacques Le Roux commented on OFBIZ-567:
---------------------------------------

Thanks for the 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 the comment just above (https://issues.apache.org/jira/browse/OFBIZ-567#action_12461766).

BTW under Windows we see only one task when switching with Alt+Tab...


> Problem with POS modal window on Linux.
> ---------------------------------------
>
>                 Key: OFBIZ-567
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-567
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>         Environment: Linux (no pb on Windows)
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Critical
>             Fix For: SVN trunk
>
>
> Taken from an user ML thread :
> ________From: "Daniel P" <le...@yahoo.es>________
> 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 ?
> ________From: "Jacques Le Roux" <ja...@les7arts.com>________
> 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.
> BTW I confirm that they are no problems on Windows.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-567) Problem with POS modal window on Linux.

Posted by "Jacques Le Roux (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461752 ] 

Jacques Le Roux commented on OFBIZ-567:
---------------------------------------

I tried some tricks from http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4255200
Found also https://jmodalwindow.dev.java.net (LGPL) and http://www.jroller.com/page/santhosh?entry=are_you_missing_maximize_button
Tried to use JDK 1.6 on Ubuntu with New Modality API : http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javase6/modality/

But without success so far (Actually had some problem to installs jdk 1.6 on Ubuntu 6.06 and have just managed to install jre so this is always open...)

> Problem with POS modal window on Linux.
> ---------------------------------------
>
>                 Key: OFBIZ-567
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-567
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>         Environment: Linux (no pb on Windows)
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Critical
>             Fix For: SVN trunk
>
>
> Taken from an user ML thread :
> ________From: "Daniel P" <le...@yahoo.es>________
> 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 ?
> ________From: "Jacques Le Roux" <ja...@les7arts.com>________
> 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.
> BTW I confirm that they are no problems on Windows.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (OFBIZ-567) Problem with POS modal window on Linux.

Posted by "Peter Goron (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/OFBIZ-567?page=comments#action_12461327 ] 
            
Peter Goron commented on OFBIZ-567:
-----------------------------------

Jacques,

I think the problem is related to java 1.5. I've already observed behavior change of modal windows with this jdk.

You should test with jdk 1.5.

> Problem with POS modal window on Linux.
> ---------------------------------------
>
>                 Key: OFBIZ-567
>                 URL: http://issues.apache.org/jira/browse/OFBIZ-567
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>         Environment: Linux (no pb on Windows)
>            Reporter: Jacques Le Roux
>         Assigned To: Jacques Le Roux
>            Priority: Critical
>             Fix For: SVN trunk
>
>
> Taken from an user ML thread :
> ________From: "Daniel P" <le...@yahoo.es>________
> 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 ?
> ________From: "Jacques Le Roux" <ja...@les7arts.com>________
> 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.
> BTW I confirm that they are no problems on Windows.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira