Bug 65068 - Toggle button issue
Summary: Toggle button issue
Status: NEW
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: Nightly (Please specify date)
Hardware: PC All
: P2 normal (vote)
Target Milestone: JMETER 5.4.1
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-10 00:44 UTC by eR@SeR
Modified: 2021-06-03 08:57 UTC (History)
1 user (show)



Attachments
toggle element example (22.88 KB, application/xml)
2021-01-10 00:44 UTC, eR@SeR
Details
toggleIssueVideo (829.00 KB, video/x-ms-wmv)
2021-01-11 23:25 UTC, eR@SeR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eR@SeR 2021-01-10 00:44:50 UTC
Created attachment 37695 [details]
toggle element example

Hello,

The toggle element is not working as expected when the Toggle button from the menu and Ctrl + T shortcut are used in combination with Ctrl button.

Steps:

1. Click on HTTP Request 1
2. Press and hold Shift and click on HTTP Request 4 (all four samplers are selected)
3. Release Shift, press Ctrl and Click on HTTP Request 3 to ignore toggle action on it
4. Click Toggle button in menu or press Ctrl + T
5. Click on any other non HTTP sampler in test plan

Actual:

HTTP Request from 1 to 4 are disabled including 3rd one.

Expected:

HTTP Request from 1 to 4 are disabled but 3rd one should remain enabled.

Reproduced on Samplers, Controllers, Config elements, PreProcessors, PostProcessors, Timers, Assertions...but works fine on listeners. Enable/Disable and Toggle in the right-click context menu work as expected.

Jmeter 5.4.1 7acd031
Microsoft Windows 10 Enterprise 64-bit
java version "14.0.1" 2020-04-14
Comment 1 Philippe Mouawad 2021-01-10 16:01:16 UTC
Hello
I cannot reproduce this issue on Mac OSX.
Anybody able to reproduce ? 

Thanks
Comment 2 eR@SeR 2021-01-11 23:25:22 UTC
Created attachment 37698 [details]
toggleIssueVideo

(In reply to Philippe Mouawad from comment #1)
> Hello
> I cannot reproduce this issue on Mac OSX.
> Anybody able to reproduce ? 
> 
> Thanks
Hi,

Please check the video and try to reproduce it on a Windows machine if available.
Comment 3 Felix Schumacher 2021-05-31 19:09:02 UTC
I can reproduce it with Ubuntu and Java 8 and build from trunk.
Comment 4 Felix Schumacher 2021-06-03 08:49:22 UTC
Funny thing is, that if you change the LAF without restarting JMeter the issue can't be reproduced anymore (until restart).

It doesn't show, when the selection is made with strg-click to select, only.
Comment 5 eR@SeR 2021-06-03 08:57:43 UTC
(In reply to Felix Schumacher from comment #4)
> Funny thing is, that if you change the LAF without restarting JMeter the
> issue can't be reproduced anymore (until restart).
Yes, I can confirm.