[jira] Created: (OFBIZ-1671) POS: Msr has double event issue in linux

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

[jira] Created: (OFBIZ-1671) POS: Msr has double event issue in linux

Nicolas Malin (Jira)
POS: Msr has double event issue in linux
----------------------------------------

                 Key: OFBIZ-1671
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1671
             Project: OFBiz
          Issue Type: Bug
            Reporter: Chris Lombardi


I am unable to get a card swipe to be recognized by the POS under linux because the POS is seeing 2 events for each character swiped.

Here's the line that is showing me the card number with each character output twice.  If I swipe a card outside the POS, the characters from the swipe appear normal.

Msr.java:121:INFO  ] Msr Info : ;<censored>||

Possibly related to OFBIZ-567.  However, unlike 567, pushing a button on the POS does not resolve the issue.


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

[jira] Commented: (OFBIZ-1671) POS: Msr has double event issue in linux

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571389#action_12571389 ]

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

Chris,

Are you using UseWindow=true in xpos.properties ?

You may then notice this comment in orginal repsoitory file
# UseWindow=false solves the alt+tab pb on Linux but introduces a keyboards doubled touches problem => reverted to true

Maybe it's related ?


> POS: Msr has double event issue in linux
> ----------------------------------------
>
>                 Key: OFBIZ-1671
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1671
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Chris Lombardi
>
> I am unable to get a card swipe to be recognized by the POS under linux because the POS is seeing 2 events for each character swiped.
> Here's the line that is showing me the card number with each character output twice.  If I swipe a card outside the POS, the characters from the swipe appear normal.
> Msr.java:121:INFO  ] Msr Info : ;<censored>||
> Possibly related to OFBIZ-567.  However, unlike 567, pushing a button on the POS does not resolve the issue.

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

[jira] Closed: (OFBIZ-1671) POS: Msr has double event issue in linux

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Lombardi closed OFBIZ-1671.
---------------------------------

    Resolution: Invalid

Thanks JLR, that was it.  I think I was staring at the code too long yesterday.

Interestingly, this issue doesn't go away after a button is clicked as does the keyboard issue.


> POS: Msr has double event issue in linux
> ----------------------------------------
>
>                 Key: OFBIZ-1671
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1671
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Chris Lombardi
>
> I am unable to get a card swipe to be recognized by the POS under linux because the POS is seeing 2 events for each character swiped.
> Here's the line that is showing me the card number with each character output twice.  If I swipe a card outside the POS, the characters from the swipe appear normal.
> Msr.java:121:INFO  ] Msr Info : ;<censored>||
> Possibly related to OFBIZ-567.  However, unlike 567, pushing a button on the POS does not resolve the issue.

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

[jira] Reopened: (OFBIZ-1671) POS: Msr has double event issue in linux

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Lombardi reopened OFBIZ-1671:
-----------------------------------


After further testing, it seems I am left with two choices:

1.  Set UseWindow=true and have all the dialogs pop under and freeze the POS, but be able to swipe a credit card.
2.  Set UseWindow=false and the dialogs work properly, but I can't swipe a cc because of the double event issue.

I'm going to have to fix at least one of these issues to get a workable POS.


> POS: Msr has double event issue in linux
> ----------------------------------------
>
>                 Key: OFBIZ-1671
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1671
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Chris Lombardi
>
> I am unable to get a card swipe to be recognized by the POS under linux because the POS is seeing 2 events for each character swiped.
> Here's the line that is showing me the card number with each character output twice.  If I swipe a card outside the POS, the characters from the swipe appear normal.
> Msr.java:121:INFO  ] Msr Info : ;<censored>||
> Possibly related to OFBIZ-567.  However, unlike 567, pushing a button on the POS does not resolve the issue.

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

[jira] Commented: (OFBIZ-1671) POS: Msr has double event issue in linux

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571762#action_12571762 ]

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

My advice would be to try the 2d since so far the other issue resides in Linux windows managers and seems out of our reach.

> POS: Msr has double event issue in linux
> ----------------------------------------
>
>                 Key: OFBIZ-1671
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1671
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Chris Lombardi
>
> I am unable to get a card swipe to be recognized by the POS under linux because the POS is seeing 2 events for each character swiped.
> Here's the line that is showing me the card number with each character output twice.  If I swipe a card outside the POS, the characters from the swipe appear normal.
> Msr.java:121:INFO  ] Msr Info : ;<censored>||
> Possibly related to OFBIZ-567.  However, unlike 567, pushing a button on the POS does not resolve the issue.

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

[jira] Commented: (OFBIZ-1671) POS: Msr has double event issue in linux

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571765#action_12571765 ]

Vince Clark commented on OFBIZ-1671:
------------------------------------

It has been mentioned in this issue but I want to emphasize that the double key issue occurs on the keyboard too. Not just Msr. However, it is possible to get past it on the keyboard such as clicking the mouse in certain areas of the screen, and then typing. The one I have found seems to work the most reliable is to use the mouse to click on a number on the keypad, then start using the keyboard.
I'm sure the Msr and Keyboard issue are related, but exhibiting slightly different behavior.

> POS: Msr has double event issue in linux
> ----------------------------------------
>
>                 Key: OFBIZ-1671
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1671
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Chris Lombardi
>
> I am unable to get a card swipe to be recognized by the POS under linux because the POS is seeing 2 events for each character swiped.
> Here's the line that is showing me the card number with each character output twice.  If I swipe a card outside the POS, the characters from the swipe appear normal.
> Msr.java:121:INFO  ] Msr Info : ;<censored>||
> Possibly related to OFBIZ-567.  However, unlike 567, pushing a button on the POS does not resolve the issue.

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

[jira] Commented: (OFBIZ-1671) POS: Msr has double event issue in linux

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571841#action_12571841 ]

Chris Lombardi commented on OFBIZ-1671:
---------------------------------------

Suspect the problem is the following lines setting up frame0 to listen to events twice in PosScreen.java.

            // configure the frame/window listeners
            KeyboardAdaptor.attachComponents(appFrame, false);
            KeyboardAdaptor.attachComponents(appWin, false);

From logging I added:

2008-02-23 20:11:17,858 (main) [ KeyboardAdaptor.java:86 :INFO ] Attach component: default/paypanel
2008-02-23 20:11:18,396 (main) [ KeyboardAdaptor.java:86 :INFO ] Attach component: default/mgrpanel
2008-02-23 20:11:18,843 (main) [ KeyboardAdaptor.java:86 :INFO ] Attach component: default/promopanel
2008-02-23 20:11:18,877 (main) [ KeyboardAdaptor.java:86 :INFO ] Attach component: frame0
2008-02-23 20:11:18,877 (main) [ KeyboardAdaptor.java:86 :INFO ] Attach component: frame0
2008-02-23 20:11:19,400 (main) [ KeyboardAdaptor.java:86 :INFO ] Attach component: default/pospanel

I'll test with the msr when I'm in front of the machine.


> POS: Msr has double event issue in linux
> ----------------------------------------
>
>                 Key: OFBIZ-1671
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1671
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Chris Lombardi
>
> I am unable to get a card swipe to be recognized by the POS under linux because the POS is seeing 2 events for each character swiped.
> Here's the line that is showing me the card number with each character output twice.  If I swipe a card outside the POS, the characters from the swipe appear normal.
> Msr.java:121:INFO  ] Msr Info : ;<censored>||
> Possibly related to OFBIZ-567.  However, unlike 567, pushing a button on the POS does not resolve the issue.

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

[jira] Assigned: (OFBIZ-1671) POS: Msr has double event issue in linux

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reassigned OFBIZ-1671:
--------------------------------------

    Assignee: Jacques Le Roux

> POS: Msr has double event issue in linux
> ----------------------------------------
>
>                 Key: OFBIZ-1671
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1671
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>
> I am unable to get a card swipe to be recognized by the POS under linux because the POS is seeing 2 events for each character swiped.
> Here's the line that is showing me the card number with each character output twice.  If I swipe a card outside the POS, the characters from the swipe appear normal.
> Msr.java:121:INFO  ] Msr Info : ;<censored>||
> Possibly related to OFBIZ-567.  However, unlike 567, pushing a button on the POS does not resolve the issue.

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

[jira] Updated: (OFBIZ-1671) POS: Msr has double event issue in linux

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Lombardi updated OFBIZ-1671:
----------------------------------

    Attachment: ofbiz-1671.patch

Score!  This fixes the MSR problem, and I suspect it also fixes the more general linux double-event issue.  It causes no harm on WinXP.

We may also want to switch the "UseWindow" setting in xpos.properties back to false.

> POS: Msr has double event issue in linux
> ----------------------------------------
>
>                 Key: OFBIZ-1671
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1671
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>         Attachments: ofbiz-1671.patch
>
>
> I am unable to get a card swipe to be recognized by the POS under linux because the POS is seeing 2 events for each character swiped.
> Here's the line that is showing me the card number with each character output twice.  If I swipe a card outside the POS, the characters from the swipe appear normal.
> Msr.java:121:INFO  ] Msr Info : ;<censored>||
> Possibly related to OFBIZ-567.  However, unlike 567, pushing a button on the POS does not resolve the issue.

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

[jira] Commented: (OFBIZ-1671) POS: Msr has double event issue in linux

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571981#action_12571981 ]

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

Great, this makes sense, I just wonder why Andy made the 2 attachments in the 1st place... I will have a look at OFBIZ-567 tomorrow I have the feeling (remembering) that there is a clue there.

> POS: Msr has double event issue in linux
> ----------------------------------------
>
>                 Key: OFBIZ-1671
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1671
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>         Attachments: ofbiz-1671.patch
>
>
> I am unable to get a card swipe to be recognized by the POS under linux because the POS is seeing 2 events for each character swiped.
> Here's the line that is showing me the card number with each character output twice.  If I swipe a card outside the POS, the characters from the swipe appear normal.
> Msr.java:121:INFO  ] Msr Info : ;<censored>||
> Possibly related to OFBIZ-567.  However, unlike 567, pushing a button on the POS does not resolve the issue.

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

[jira] Updated: (OFBIZ-1671) POS: Msr has double event issue in linux

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marco Risaliti updated OFBIZ-1671:
----------------------------------

    Component/s: specialpurpose/pos

> POS: Msr has double event issue in linux
> ----------------------------------------
>
>                 Key: OFBIZ-1671
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1671
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/pos
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>         Attachments: ofbiz-1671.patch
>
>
> I am unable to get a card swipe to be recognized by the POS under linux because the POS is seeing 2 events for each character swiped.
> Here's the line that is showing me the card number with each character output twice.  If I swipe a card outside the POS, the characters from the swipe appear normal.
> Msr.java:121:INFO  ] Msr Info : ;<censored>||
> Possibly related to OFBIZ-567.  However, unlike 567, pushing a button on the POS does not resolve the issue.

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

[jira] Closed: (OFBIZ-1671) POS: Msr has double event issue in linux

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-1671.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Release Branch 4.0
                   SVN trunk

Chris,

Your patch is in trunk revision: 630975 release4.0 revision: 630980  



> POS: Msr has double event issue in linux
> ----------------------------------------
>
>                 Key: OFBIZ-1671
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1671
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/pos
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk, Release Branch 4.0
>
>         Attachments: ofbiz-1671.patch
>
>
> I am unable to get a card swipe to be recognized by the POS under linux because the POS is seeing 2 events for each character swiped.
> Here's the line that is showing me the card number with each character output twice.  If I swipe a card outside the POS, the characters from the swipe appear normal.
> Msr.java:121:INFO  ] Msr Info : ;<censored>||
> Possibly related to OFBIZ-567.  However, unlike 567, pushing a button on the POS does not resolve the issue.

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

[jira] Commented: (OFBIZ-1671) POS: Msr has double event issue in linux

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572215#action_12572215 ]

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

Forgot to mention that it was tested on Ubuntu 6.06 LTS and Windows XPsP2 without any issues at all.

> POS: Msr has double event issue in linux
> ----------------------------------------
>
>                 Key: OFBIZ-1671
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1671
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/pos
>            Reporter: Chris Lombardi
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk, Release Branch 4.0
>
>         Attachments: ofbiz-1671.patch
>
>
> I am unable to get a card swipe to be recognized by the POS under linux because the POS is seeing 2 events for each character swiped.
> Here's the line that is showing me the card number with each character output twice.  If I swipe a card outside the POS, the characters from the swipe appear normal.
> Msr.java:121:INFO  ] Msr Info : ;<censored>||
> Possibly related to OFBIZ-567.  However, unlike 567, pushing a button on the POS does not resolve the issue.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.