intruxxer / zaproxy

Automatically exported from code.google.com/p/zaproxy
0 stars 0 forks source link

Double-click (or multiple fast clicks) on bottom bar arrows expands the lower part of the window. #506

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Quickly click multiple times on one of the arrows.

What is the expected output? What do you see instead?
Not sure if this is expected behaviour or not, but it is very annoying since I 
am using ZAP on a laptop with all plugins installed. There are a number of 
tabs, which means the arrows appear to scroll through them. However, because 
double-clicks and very fast clicks make the tab expand, it takes very slow 
clicks in order to get to either end of the tab bar. Frustrating!

It would be better if this behaviour could either be turned on or off, or if 
the arrow buttons could be double-clicked and not cause anything to expand.

What version of the product are you using? On what operating system?
2.0.0 on OS X 10.8.2

Original issue reported on code.google.com by adrianha...@gmail.com on 8 Feb 2013 at 3:12

GoogleCodeExporter commented 9 years ago
That's the expected behaviour (from looking at the code). But clearly it should 
only expand the tab if the clicks were made in a tab title header and not on 
any place of the tabbed component.

Original comment by THC...@gmail.com on 8 Feb 2013 at 4:39

GoogleCodeExporter commented 9 years ago
Yes, that should only happen if you click on the tabs.
I cant reproduce this on Linux or Windows - so maybe it just affects Macs?

Original comment by psii...@gmail.com on 8 Feb 2013 at 4:48

GoogleCodeExporter commented 9 years ago
I think that depends on the L&F used (at least the default behaviour). Mac is 
using a different L&F than Windows and Linux.

For a reference about the JTabbedPane and scrollable tabs:
http://docs.oracle.com/javase/7/docs/technotes/guides/swing/1.4/tabbedPane.html

Original comment by THC...@gmail.com on 8 Feb 2013 at 7:51

GoogleCodeExporter commented 9 years ago
I couldn't reproduce any such issue with a current ZAP Dev build, JRE 7u60, on 
Win7 Pro.

No matter how I resize the windows I can't get it to want to scroll, it seems 
to wrap the tabs nicely. They only maximize if I double click the tab itself 
and I get a nice warning the first time....

Is someone still working on this?

Original comment by kingtho...@gmail.com on 13 Jul 2014 at 8:03

GoogleCodeExporter commented 9 years ago
That only happens with L&Fs that (citing previous reference) "[...] constrain 
the tabbed pane to a single, scrollable run of tabs". In Windows and Linux it's 
used Nimbus which doesn't do that (at least by default). OSX is using other L&F.

Original comment by THC...@gmail.com on 13 Jul 2014 at 10:08