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

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

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

Nicolas Malin (Jira)

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

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

The UseWindow one ?

Well i looked anywhere the code modified the default window attribute (undecorated, resizable, ...) and tried to enable some to see if it would change the bogus behaviour.
I then noticed that even with proper settings the window wouldn't get WM decoration.

My first issue was that my screen is 1024x768 which is the exact size of the POS window, so i could not see my console .. but curiously i could use ALT-TAB to focus on konsole and even if i did not see it on top, i could hit CTRL-C to stop the POS.

Then i found the size was set in a config file, the same one that has UseWindow, so i googled and what those settings was supposed to do.
Finally by changing that setting i could get my window decorations, and correct behaviour. At this point i reverted the previous modifications in the code (undecorated, resizable ..) and found out that this setting alone would solve the issue.

Nothing unusual i guess. How you think that would help ?

( BTW, since we are on POS, if you have time you could check OFBIZ-1091 )



> 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" <[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 ?
> ________From: "Jacques Le Roux" <[hidden email]>________
> 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.