You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2013/04/14 00:00:27 UTC

[Bug 54841] New: [Patch] Correctly handle the quit shortcut on Mac Os (CMD-Q)

https://issues.apache.org/bugzilla/show_bug.cgi?id=54841

            Bug ID: 54841
           Summary: [Patch] Correctly handle the quit shortcut on Mac Os
                    (CMD-Q)
           Product: JMeter
           Version: 2.9
          Hardware: Macintosh
                OS: Mac System 7
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: benoit.wiart@gmail.com
    Classification: Unclassified

Created attachment 30191
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30191&action=edit
patch

On Mac Os the CMD-Q is not correctly intercepted, and jmeter doest not warn
when the test plan has been modified (popup)
this patch use a system property as defined in :
https://developer.apple.com/library/mac/#releasenotes/Java/JavaSnowLeopardUpdate3LeopardUpdate8RN/NewandNoteworthy/NewandNoteworthy.html

tested on mac os 10.8.2
and java version "1.6.0_41"
Java(TM) SE Runtime Environment (build 1.6.0_41-b02-445-11M4107)
Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-445, mixed mode)

On Mac os we should also remove the 'exit' option of the file menu as 'Exit' is
automatically added to the application Menu.
if the jmeter commiters accept to have some logic based on the os type : I'll
provide another patch for the menu

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54841] Correctly handle the quit shortcut on Mac Os (CMD-Q)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54841

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Sun Apr 14 13:41:38 2013
New Revision: 1467775

URL: http://svn.apache.org/r1467775
Log:
Bug 54841 - Correctly handle the quit shortcut on Mac Os (CMD-Q)
Bugzilla Id: 54841

Modified:
    jmeter/trunk/bin/jmeter.sh
    jmeter/trunk/xdocs/changes.xml


Test OK on 10.6.8.
Applied, thanks for patch

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54841] Correctly handle the quit shortcut on Mac Os (CMD-Q)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54841

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
            Summary|[Patch] Correctly handle    |Correctly handle the quit
                   |the quit shortcut on Mac Os |shortcut on Mac Os (CMD-Q)
                   |(CMD-Q)                     |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54841] Correctly handle the quit shortcut on Mac Os (CMD-Q)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54841

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30191|0                           |1
           is patch|                            |
  Attachment #30191|application/octet-stream    |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.