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/02/09 14:27:30 UTC

[Bug 54538] GUI: context menu is too big

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
         Resolution|---                         |FIXED
                 OS|                            |All

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Date: Sat Feb  9 13:25:36 2013
New Revision: 1444359

URL: http://svn.apache.org/r1444359
Log:
Bug 54538 - GUI: context menu is too big
Bugzilla Id: 54538

Added:
    jmeter/trunk/src/jorphan/org/apache/jorphan/gui/MenuScroller.java   (with
props)
Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/util/MenuFactory.java
    jmeter/trunk/src/jorphan/org/apache/jorphan/gui/GuiUtils.java
    jmeter/trunk/xdocs/changes.xml


Date: Sat Feb  9 13:26:45 2013
New Revision: 1444361

URL: http://svn.apache.org/r1444361
Log:
Bug 54538 - GUI: context menu is too big
SVN ELO
Bugzilla Id: 54538

Modified:
    jmeter/trunk/src/jorphan/org/apache/jorphan/gui/MenuScroller.java   (props
changed)

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

Re: [Bug 54538] GUI: context menu is too big

Posted by Milamber <mi...@apache.org>.

Le 09/02/2013 17:40, Philippe Mouawad a ecrit :
> I tried to make it better.

Good for me. Thanks.

> It detects display and scrolling will appear only if menu items take more
> than  80% of height is used.
>
> Regards
> Philippe
>
> On Sat, Feb 9, 2013 at 5:22 PM, Milamber<mi...@apache.org>  wrote:
>
>>
>> Le 09/02/2013 13:29, Philippe Mouawad a ecrit :
>>
>>   Hello,
>>> I added MenuScroller from
>>> - http://tips4java.wordpress.**com/2009/02/01/menu-scroller/<http://tips4java.wordpress.com/2009/02/01/menu-scroller/>
>>>
>>> My tests on Mac OSX with different LnF are OK.
>>> Feel free to test on other platforms.
>>>
>> I'm not very happy with this change. Now I've a scroll list for Listener
>> menu or Config element menu (see screenshot), despite my large screen size.
>>
>> Perhaps need some check on screen size before apply MenuScroller.
>>
>> Milamber
>>
>>
>>
>>
>>> Regards
>>> Philippe
>>>
>>> On Sat, Feb 9, 2013 at 2:27 PM,<bu...@apache.org>   wrote:
>>>
>>>   https://issues.apache.org/**bugzilla/show_bug.cgi?id=54538<https://issues.apache.org/bugzilla/show_bug.cgi?id=54538>
>>>> Philippe Mouawad<p....@ubik-ingenierie.com>>
>>>>   changed:
>>>>
>>>>              What    |Removed                     |Added
>>>>
>>>> ------------------------------**------------------------------**
>>>> ----------------
>>>>                Status|NEW                         |RESOLVED
>>>>                    CC|
>>>>    |p.mouawad@ubik-ingenierie.c
>>>>                      |                            |om
>>>>            Resolution|---                         |FIXED
>>>>                    OS|                            |All
>>>>
>>>> --- Comment #1 from Philippe Mouawad<p....@ubik-ingenierie.com>>
>>>>   ---
>>>> Date: Sat Feb  9 13:25:36 2013
>>>> New Revision: 1444359
>>>>
>>>> URL: http://svn.apache.org/r1444359
>>>> Log:
>>>> Bug 54538 - GUI: context menu is too big
>>>> Bugzilla Id: 54538
>>>>
>>>> Added:
>>>>       jmeter/trunk/src/jorphan/org/**apache/jorphan/gui/**
>>>> MenuScroller.java
>>>> (with
>>>> props)
>>>> Modified:
>>>>       jmeter/trunk/src/core/org/**apache/jmeter/gui/util/**
>>>> MenuFactory.java
>>>>       jmeter/trunk/src/jorphan/org/**apache/jorphan/gui/GuiUtils.**java
>>>>       jmeter/trunk/xdocs/changes.xml
>>>>
>>>>
>>>> Date: Sat Feb  9 13:26:45 2013
>>>> New Revision: 1444361
>>>>
>>>> URL: http://svn.apache.org/r1444361
>>>> Log:
>>>> Bug 54538 - GUI: context menu is too big
>>>> SVN ELO
>>>> Bugzilla Id: 54538
>>>>
>>>> Modified:
>>>>       jmeter/trunk/src/jorphan/org/**apache/jorphan/gui/**
>>>> MenuScroller.java
>>>> (props
>>>> changed)
>>>>
>>>> --
>>>> You are receiving this mail because:
>>>> You are the assignee for the bug.
>>>>
>>>>
>>>
>


Re: [Bug 54538] GUI: context menu is too big

Posted by Philippe Mouawad <ph...@gmail.com>.
I tried to make it better.
It detects display and scrolling will appear only if menu items take more
than  80% of height is used.

Regards
Philippe

On Sat, Feb 9, 2013 at 5:22 PM, Milamber <mi...@apache.org> wrote:

>
>
> Le 09/02/2013 13:29, Philippe Mouawad a ecrit :
>
>  Hello,
>> I added MenuScroller from
>> - http://tips4java.wordpress.**com/2009/02/01/menu-scroller/<http://tips4java.wordpress.com/2009/02/01/menu-scroller/>
>>
>> My tests on Mac OSX with different LnF are OK.
>> Feel free to test on other platforms.
>>
>
> I'm not very happy with this change. Now I've a scroll list for Listener
> menu or Config element menu (see screenshot), despite my large screen size.
>
> Perhaps need some check on screen size before apply MenuScroller.
>
> Milamber
>
>
>
>
>> Regards
>> Philippe
>>
>> On Sat, Feb 9, 2013 at 2:27 PM,<bu...@apache.org>  wrote:
>>
>>  https://issues.apache.org/**bugzilla/show_bug.cgi?id=54538<https://issues.apache.org/bugzilla/show_bug.cgi?id=54538>
>>>
>>> Philippe Mouawad<p....@ubik-ingenierie.com>>
>>>  changed:
>>>
>>>             What    |Removed                     |Added
>>>
>>> ------------------------------**------------------------------**
>>> ----------------
>>>               Status|NEW                         |RESOLVED
>>>                   CC|
>>>   |p.mouawad@ubik-ingenierie.c
>>>                     |                            |om
>>>           Resolution|---                         |FIXED
>>>                   OS|                            |All
>>>
>>> --- Comment #1 from Philippe Mouawad<p....@ubik-ingenierie.com>>
>>>  ---
>>> Date: Sat Feb  9 13:25:36 2013
>>> New Revision: 1444359
>>>
>>> URL: http://svn.apache.org/r1444359
>>> Log:
>>> Bug 54538 - GUI: context menu is too big
>>> Bugzilla Id: 54538
>>>
>>> Added:
>>>      jmeter/trunk/src/jorphan/org/**apache/jorphan/gui/**
>>> MenuScroller.java
>>> (with
>>> props)
>>> Modified:
>>>      jmeter/trunk/src/core/org/**apache/jmeter/gui/util/**
>>> MenuFactory.java
>>>      jmeter/trunk/src/jorphan/org/**apache/jorphan/gui/GuiUtils.**java
>>>      jmeter/trunk/xdocs/changes.xml
>>>
>>>
>>> Date: Sat Feb  9 13:26:45 2013
>>> New Revision: 1444361
>>>
>>> URL: http://svn.apache.org/r1444361
>>> Log:
>>> Bug 54538 - GUI: context menu is too big
>>> SVN ELO
>>> Bugzilla Id: 54538
>>>
>>> Modified:
>>>      jmeter/trunk/src/jorphan/org/**apache/jorphan/gui/**
>>> MenuScroller.java
>>> (props
>>> changed)
>>>
>>> --
>>> You are receiving this mail because:
>>> You are the assignee for the bug.
>>>
>>>
>>
>>
>


-- 
Cordialement.
Philippe Mouawad.

Re: [Bug 54538] GUI: context menu is too big

Posted by Milamber <mi...@apache.org>.

Le 09/02/2013 13:29, Philippe Mouawad a ecrit :
> Hello,
> I added MenuScroller from
> - http://tips4java.wordpress.com/2009/02/01/menu-scroller/
>
> My tests on Mac OSX with different LnF are OK.
> Feel free to test on other platforms.

I'm not very happy with this change. Now I've a scroll list for Listener 
menu or Config element menu (see screenshot), despite my large screen size.

Perhaps need some check on screen size before apply MenuScroller.

Milamber


>
> Regards
> Philippe
>
> On Sat, Feb 9, 2013 at 2:27 PM,<bu...@apache.org>  wrote:
>
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=54538
>>
>> Philippe Mouawad<p....@ubik-ingenierie.com>  changed:
>>
>>             What    |Removed                     |Added
>>
>> ----------------------------------------------------------------------------
>>               Status|NEW                         |RESOLVED
>>                   CC|
>>   |p.mouawad@ubik-ingenierie.c
>>                     |                            |om
>>           Resolution|---                         |FIXED
>>                   OS|                            |All
>>
>> --- Comment #1 from Philippe Mouawad<p....@ubik-ingenierie.com>  ---
>> Date: Sat Feb  9 13:25:36 2013
>> New Revision: 1444359
>>
>> URL: http://svn.apache.org/r1444359
>> Log:
>> Bug 54538 - GUI: context menu is too big
>> Bugzilla Id: 54538
>>
>> Added:
>>      jmeter/trunk/src/jorphan/org/apache/jorphan/gui/MenuScroller.java
>> (with
>> props)
>> Modified:
>>      jmeter/trunk/src/core/org/apache/jmeter/gui/util/MenuFactory.java
>>      jmeter/trunk/src/jorphan/org/apache/jorphan/gui/GuiUtils.java
>>      jmeter/trunk/xdocs/changes.xml
>>
>>
>> Date: Sat Feb  9 13:26:45 2013
>> New Revision: 1444361
>>
>> URL: http://svn.apache.org/r1444361
>> Log:
>> Bug 54538 - GUI: context menu is too big
>> SVN ELO
>> Bugzilla Id: 54538
>>
>> Modified:
>>      jmeter/trunk/src/jorphan/org/apache/jorphan/gui/MenuScroller.java
>> (props
>> changed)
>>
>> --
>> You are receiving this mail because:
>> You are the assignee for the bug.
>>
>
>


Re: [Bug 54538] GUI: context menu is too big

Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
I added MenuScroller from
- http://tips4java.wordpress.com/2009/02/01/menu-scroller/

My tests on Mac OSX with different LnF are OK.
Feel free to test on other platforms.

Regards
Philippe

On Sat, Feb 9, 2013 at 2:27 PM, <bu...@apache.org> wrote:

> https://issues.apache.org/bugzilla/show_bug.cgi?id=54538
>
> Philippe Mouawad <p....@ubik-ingenierie.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|NEW                         |RESOLVED
>                  CC|
>  |p.mouawad@ubik-ingenierie.c
>                    |                            |om
>          Resolution|---                         |FIXED
>                  OS|                            |All
>
> --- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
> Date: Sat Feb  9 13:25:36 2013
> New Revision: 1444359
>
> URL: http://svn.apache.org/r1444359
> Log:
> Bug 54538 - GUI: context menu is too big
> Bugzilla Id: 54538
>
> Added:
>     jmeter/trunk/src/jorphan/org/apache/jorphan/gui/MenuScroller.java
> (with
> props)
> Modified:
>     jmeter/trunk/src/core/org/apache/jmeter/gui/util/MenuFactory.java
>     jmeter/trunk/src/jorphan/org/apache/jorphan/gui/GuiUtils.java
>     jmeter/trunk/xdocs/changes.xml
>
>
> Date: Sat Feb  9 13:26:45 2013
> New Revision: 1444361
>
> URL: http://svn.apache.org/r1444361
> Log:
> Bug 54538 - GUI: context menu is too big
> SVN ELO
> Bugzilla Id: 54538
>
> Modified:
>     jmeter/trunk/src/jorphan/org/apache/jorphan/gui/MenuScroller.java
> (props
> changed)
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
>



-- 
Cordialement.
Philippe Mouawad.