You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Wickersheimer Jeremy (JIRA)" <ji...@apache.org> on 2007/06/20 10:56:26 UTC

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

    [ https://issues.apache.org/jira/browse/OFBIZ-567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12506456 ] 

Wickersheimer Jeremy commented on OFBIZ-567:
--------------------------------------------

This also happens in KDE. The problem is most probably between xoetrope and the WM implementation.

The issue is fixed by changing:
UseWindow=false
In /specialpurpose/pos/config/xpos.properties.

According to xoetrope documentation (http://www.xoetrope.com/xui/tutorials/intro/setup)
"UseWindow  When false, this property creates the application with a title bar as in most typical applications. When set to true, the application starts with out a title bar and can be used for kiosk type applications."

This restore the ALT-TAB normal behaviour and the Dialogs properly appear on top.

Please note that "this property creates the application with a title bar" is not true, because in XuiContainer.java, in the XuiScreen class, we explicitly set :
frame.setUndecorated(true);
Which disable the title bar by telling the WM not to decorate the window.

Now you can argue the benefits of "locking" the system for a POS, but "kiosking" can be implemented by other means, and the UseWindow side effect should not replace proper administration.

Anyway, KDE and Gnome should follow the freedesktop standards, so it the problem lies between their implementation and the UseWindow implementation (which i did not look into), you cannot guarantee than other WM won't show the same issue in the future.

> Problem with POS modal window on Linux.
> ---------------------------------------
>
>                 Key: OFBIZ-567
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-567
>             Project: OFBiz
>          Issue Type: Bug
>          Components: pos
>    Affects Versions: SVN trunk
>         Environment: Linux (no pb on Windows)
>            Reporter: Jacques Le Roux
>            Assignee: 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.
-
You can reply to this email to add a comment to the issue online.