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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages 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_12532358 ]

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

A interesting comment from Chris Liberty on user ML :

The "UseWindow=false" setting seems to make the POS work as I would expect
the POS to work (i.e. no title bar and it runs un-windowed).  The only
difference is that there's the issue of being able to alt-tab to other
screens, but I think that's more an OS security issue and less a POS
application issue.

It would probably be good to have links to documentation on how to harden an
X session or protect the passwords to the database, etc.  Unfortunately, I
don't have much to offer on that issue as I haven't looked into it yet.  It
has definitely been on my mind though.

On a related note, I think I may know what is causing the double keyboard
events in linux mentioned in the ticket.  I was seeing a similar problem
with mouse clicks and changing the event handler worked.

Chris


> 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
>             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.

Reply | Threaded
Open this post in threaded view
|

Typo

Ján Valkovič
Hi,
in function 'Clear Since Start Stats' (file \framework\webtools\webapp\webtools\WEB-INF\actions\stats\StatsSinceStart.bsh) in webtools is typo, missing 's' in clearBin:

String clearBins = request.getParameter("clear");
if (UtilValidate.isNotEmpty(clearBins) && "true".equals(clearBin*s*)) {
    ServerHitBin.requestSinceStarted.clear();
    ServerHitBin.eventSinceStarted.clear();
    ServerHitBin.viewSinceStarted.clear();
}

sorry for my english :-)


ya
Reply | Threaded
Open this post in threaded view
|

Re: Typo

Jacopo Cappellato
Thanks Ján,

this is now fixed in rev. 581919

Jacopo

Ján Valkovič wrote:

> Hi,
> in function 'Clear Since Start Stats' (file
> \framework\webtools\webapp\webtools\WEB-INF\actions\stats\StatsSinceStart.bsh)
> in webtools is typo, missing 's' in clearBin:
>
> /String clearBins = request.getParameter("clear");
> if (UtilValidate.isNotEmpty(clearBins) && "true".equals(clearBin**s**)) {
>     ServerHitBin.requestSinceStarted.clear();
>     ServerHitBin.eventSinceStarted.clear();
>     ServerHitBin.viewSinceStarted.clear();
> }
>
> /sorry for my english :-)
>
>
> ya