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 2020/12/14 10:12:24 UTC

[Bug 64984] New: GUI - select Backendlistener in Tree is broken

https://bz.apache.org/bugzilla/show_bug.cgi?id=64984

            Bug ID: 64984
           Summary: GUI - select Backendlistener in Tree is broken
           Product: JMeter
           Version: 5.4
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: dietmar.berchtold@nagarro.com
  Target Milestone: JMETER 5.4.1

Created attachment 37607
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37607&action=edit
Screenrecording

Steps to Reproduce:
- add Backendlistener to TestPlan
- try to select Backendlistener in Tree by clicking on icon/text area of
Element
  -> found: Backendlistener is not selected

Workaround:
- click left to the icon/text area


java --version
java 11.0.1 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)

OS:
Microsoft Windows 10 Enterprise
10.0.19041

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

Dietmar Berchtold <di...@nagarro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

Dietmar Berchtold <di...@nagarro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #15 from Dietmar Berchtold <di...@nagarro.com> ---
Hello Philippe,
I tested with with changing line 151 to
set HEAP=-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m -Ddarklaf.treeRowPopup=true

unfortunately with no success. The issue still occures. I also tried with
moving the line below the if (if not defined HEAP)

If you want me to check some other setting (e.g. use a differen JVM, other
screenresolution than 3240x2160) just let me know.

Regards

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

--- Comment #1 from Dietmar Berchtold <di...@nagarro.com> ---
Created attachment 37608
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37608&action=edit
JMX file

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #19 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello Dietmar,
Did you test my proposal ?

Please set this:

-Ddarklaf.treeRowPopup=false

NO:
-Ddarklaf.treeRowPopup=true

Thanks

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #8 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
On what OS and Java version are you facing this ?

Could you attach the whole jmeter.log ? 
Thanks

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

--- Comment #5 from Dietmar Berchtold <di...@nagarro.com> ---
Created attachment 37613
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37613&action=edit
Recording using AuthorizationManager

Hello, I attached a recording of the issue where Authorization Manager element
shows the issue.
It looks like Authorization Manager is also vulnerable fo the issue.

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

Dietmar Berchtold <di...@nagarro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

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

[Bug 64984] Darklaf LAF: Selecting a Test element does not work under certain screen resolutions on Windows

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|GUI - select                |Darklaf LAF: Selecting a
                   |Backendlistener in Tree is  |Test element does not work
                   |broken                      |under certain screen
                   |                            |resolutions on Windows
             Status|NEW                         |NEEDINFO
                 OS|All                         |Windows 10

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #16 from Felix Schumacher <fe...@internetallee.de> ---
I am curious, why you are using such an old version of JDK 11? Can you try a
newer one? (I am still no able to reproduce the issue on my Windows test
machine).

Are you using any third party plugins in your setup?

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #12 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Thanks for your feedback ! 
As a workaround, can you confirm that if you switch to System LAF and restart
JMeter, you don't face the problem ?
Thanks


At team, I reported:

- https://github.com/weisJ/darklaf/issues/225



Regards
Philippe

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

Dietmar Berchtold <di...@nagarro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #13 from Dietmar Berchtold <di...@nagarro.com> ---
Hello,
you are right. 
If I switch to any other LAF than Darklaf I don't face the problem. 
Even without restarting JMeter.

This workaround helps me a lot.
Thanks!

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

--- Comment #7 from Dietmar Berchtold <di...@nagarro.com> ---
Created attachment 37614
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37614&action=edit
JMeter.log

Hello, 
there are no messages in the log when I click in the not responding area. 
You can follow the logs written in DEBUG mode in the attached "Recording using
AuthorizationManager" file. 

In the attache JMeter.log there are the log entries 
- when clicking on ThreadGroup element (the Text)
- clicking on  Text of AuthorizationManager element -> NO log is written :)
Nothing happens
- clicking on space on right side of AuthorizationManager element

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

--- Comment #18 from Dietmar Berchtold <di...@nagarro.com> ---
Hello again.

I tested again by setting a different screen resolution: 1920x1080
-> The issue disappeared, everything works fine!

setting back to screen resolution 3240x2160
-> The issue is back again.

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

Dietmar Berchtold <di...@nagarro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #17 from Dietmar Berchtold <di...@nagarro.com> ---
Hello,
I installed a new version of Java (15.0.1) and used also the Snapshot Version
of JMeter with no additional Plugins.

Unfortunatly the issue still occures on my machine :(


Here the extract from JMeter.log from startup:
2020-12-17 19:42:10,494 INFO o.a.j.JMeter: Version 5.4.1-SNAPSHOT 53c6db8
2020-12-17 19:42:10,494 INFO o.a.j.JMeter: java.version=15.0.1
2020-12-17 19:42:10,494 INFO o.a.j.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit
Server VM
2020-12-17 19:42:10,494 INFO o.a.j.JMeter: os.name=Windows 10
2020-12-17 19:42:10,495 INFO o.a.j.JMeter: os.arch=amd64
2020-12-17 19:42:10,495 INFO o.a.j.JMeter: os.version=10.0
2020-12-17 19:42:10,495 INFO o.a.j.JMeter: file.encoding=Cp1252

Regards

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Can you test nightly build please ?
https://ci-builds.apache.org/job/JMeter/job/JMeter-trunk/lastSuccessfulBuild/artifact/src/dist/build/distributions/


We plan a release of 5.4.1 if it's ok.

Thanks

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

Dietmar Berchtold <di...@nagarro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

--- Comment #10 from Dietmar Berchtold <di...@nagarro.com> ---
Created attachment 37615
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37615&action=edit
Full JMeter log

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #14 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Could you please make this test as I don't reproduce the issue in any of the
OSes I have.

0) Switch back to Darklaf

1) Find the line 151 of jmeter.bat:

=> set HEAP=-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m

3) Replace current value by:

=> set HEAP=-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m -Ddarklaf.treeRowPopup=true


3) Restart JMeter 

4) test again


We'll provide a fix but I want to be sure we are on right track.


Thanks in advance for your feedback.

Regards

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

--- Comment #22 from Dietmar Berchtold <di...@nagarro.com> ---
(In reply to Philippe Mouawad from comment #20)
> (In reply to Dietmar Berchtold from comment #15)
> > Hello Philippe,
> > I tested with with changing line 151 to
> > set HEAP=-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m -Ddarklaf.treeRowPopup=true
> > 
> > unfortunately with no success. The issue still occures. I also tried with
> > moving the line below the if (if not defined HEAP)
> > 
> > If you want me to check some other setting (e.g. use a differen JVM, other
> > screenresolution than 3240x2160) just let me know.
> > 
> > Regards
> 
> Hello Dietmar,
> Sorry I missed this comment, I made a mistake in my comment, you need to set
> the property to false:
> 
> -Ddarklaf.treeRowPopup=false
> 
> Thanks

YES with this setting it works correct. Also with the settings mentioned below
about text size 225% versus 200%

So I can confirm your fix works.

Thanks a lot!

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

--- Comment #2 from Dietmar Berchtold <di...@nagarro.com> ---
It looks like this is not only limited to BackendListener element. Also other
elements are affected but only in some combinations. e.g. In a complex TestPlan
with a lot of "Thread Groups" some "Thread Group" elements work as expect,
others behave as described in the issue.
When using Version 5.3 of JMeter the issue does not occure.

I also tried the same Test Plan on an other Win 10 Machine. There I could not
reproduce the error.

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

--- Comment #21 from Dietmar Berchtold <di...@nagarro.com> ---
Created attachment 37625
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37625&action=edit
Screensettings

An other test:
leave setting of screenresolution to high 3240x2160

Text size 225% -> isssue occures
Text size 200% -> issue does not occure.

see attached Screensettings

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

[Bug 64984] Darklaf LAF: Selecting a Test element does not work under certain screen resolutions on Windows

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEEDINFO                    |RESOLVED
                 OS|                            |All
           Keywords|                            |FixedInTrunk

--- Comment #23 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
This is an automated email from the ASF dual-hosted git repository.

pmouawad pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 655de1a  Bug 64984 - Darklaf LAF: Selecting a Test element does not
work under certain screen resolutions on Windows
655de1a is described below

commit 655de1a8aa60c560e214bde06e6ca694d8619d5f
Author: pmouawad <p....@ubik-ingenierie.com>
AuthorDate: Fri Dec 18 13:54:50 2020 +0100

    Bug 64984 - Darklaf LAF: Selecting a Test element does not work under
    certain screen resolutions on Windows
---
 .../src/main/java/org/apache/jmeter/gui/action/LookAndFeelCommand.java | 3 +++
 xdocs/changes.xml                                                      | 2 ++
 2 files changed, 5 insertions(+)

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

Dietmar Berchtold <di...@nagarro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #4 from Dietmar Berchtold <di...@nagarro.com> ---
Hello, 
I tried using 5.4.1-SNAPSHOT 53c6db8. Unfortunately with the same result:
Select element is broken.

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

Dietmar Berchtold <di...@nagarro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #11 from Dietmar Berchtold <di...@nagarro.com> ---
Hello,
attached the Full Log

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #6 from Felix Schumacher <fe...@internetallee.de> ---
Thanks for testing. Are there any messages written to the log files
(jmeter.log)?

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

--- Comment #9 from Dietmar Berchtold <di...@nagarro.com> ---
java --version
java 11.0.1 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)

OS:
Microsoft Windows 10 Enterprise
10.0.19041

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

[Bug 64984] GUI - select Backendlistener in Tree is broken

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

--- Comment #20 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
(In reply to Dietmar Berchtold from comment #15)
> Hello Philippe,
> I tested with with changing line 151 to
> set HEAP=-Xms1g -Xmx1g -XX:MaxMetaspaceSize=256m -Ddarklaf.treeRowPopup=true
> 
> unfortunately with no success. The issue still occures. I also tried with
> moving the line below the if (if not defined HEAP)
> 
> If you want me to check some other setting (e.g. use a differen JVM, other
> screenresolution than 3240x2160) just let me know.
> 
> Regards

Hello Dietmar,
Sorry I missed this comment, I made a mistake in my comment, you need to set
the property to false:

-Ddarklaf.treeRowPopup=false

Thanks

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