You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by bu...@apache.org on 2011/10/14 11:37:57 UTC
DO NOT REPLY [Bug 52026] New: Default to System-PL
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
Bug #: 52026
Summary: Default to System-PL
Product: JMeter
Version: 2.5.1
Platform: PC
OS/Version: All
Status: NEW
Severity: trivial
Priority: P2
Component: Main
AssignedTo: notifications@jakarta.apache.org
ReportedBy: immanuel.hayden@gmail.com
Classification: Unclassified
Hi!
Please use the system look and feel also on non-mac platforms. Metal look is
exceedingly ugly.
Essentially it's simply replacing this section in jmeter.properties:
# LAF can be overridden by os.name (lowercased, spaces replaced by '_')
# Sample os.name LAF:
#jmeter.laf.windows_xp=javax.swing.plaf.metal.MetalLookAndFeel
# Failing that, the OS family = os.name, but only up to first space:
# Sample OS family LAF:
#jmeter.laf.windows=javax.swing.plaf.metal.MetalLookAndFeel
# Failing that:
# default LAF
jmeter.laf=javax.swing.plaf.metal.MetalLookAndFeel
# Failing that, JMeter uses the CrossPlatform LAF.
# Mac apparently looks better with the System LAF
jmeter.laf.mac=System
with this:
# Use System LAF on all platforms
jmeter.laf=System
and then add possible workaround for obscure platforms (though according to
http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html there
are not many platforms where this would apply)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
Sebb <se...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #27786|U |Ubuntu System Test Plan
description| |showing selected element
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #8 from immanuel.hayden@gmail.com 2011-10-14 17:41:35 UTC ---
(In reply to comment #7)
> All I can say is that the System LAF looks terrible on my WinXP system; ugly
> fonts and harsh shadows.
Srsly, why do you use XP then? That's how the native UI buttons look also in
other apps.
> Also, note that only the CrossPlatform/Metal LAF appears to honour the
> short-cut underlines.
That's intended behaviour. They show up (as in all other native programs) only
when pressing the alt-key.
> > #1 First of all the fonts are different which really annoys me as the Metal
> > font is not nice to look at at all. Second the menu has a different layout (no
> > dedicated space for symbols on the right).
>
> Huh? I can see menu symbols in your comparison.png
Sorry, my bad, I meant to the left (in the middle image) compared to the
windows standard menus.
> Agreed, the open files dialogue on CrossPlatform is somewhat simpler, but it is
> still quite usable.
Sorry, but i have to object. I use JMeter at work for testing a REST-API and we
have a huge amount of test files. Thus i set up the favorites to point to the
root location of our TC-Directory as jmeter does not remember the last location
between restarts (but that's another story). No to mention that you have to get
used to yet another file open dialogue which is quite annoying, too.
> According to the Oracle docs, Metal is equivalent to CrossPlatform.
> The properties file should probably say so.
yeah, but metal should be the fallback when everything else fails, not the
first choice (at least that's the way I see it).
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #19 from immanuel.hayden@gmail.com 2011-10-15 12:55:49 UTC ---
Ok, done, created #52037 (but I guess you got the mail already ;)). Great
collaboration, thanks *thumbs up*
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
Sebb <se...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Sebb <se...@apache.org> 2011-10-14 11:41:21 UTC ---
What OS do you use? (what is the content of os.name?)
It's easy enough to change the jmeter.properties locally.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #12 from Sebb <se...@apache.org> 2011-10-14 21:34:22 UTC ---
I've just tried System and CrossPlatfor LAF on Ubuntu.
System is worse than CrossPlatform, for two reasons:
1) the selected item in tree is shown by changing the background of the full
row.
It's not obvious in the screenshot, but it obscures the element icons.
When the menu dropdown is not present, the orange bar extends across the grey
background as well.
2) Disabled menu items are a bit difficult to read in comparison with the
CrossPlatform laf.
The buttons are rounded in System but not in CrossPlatform, but generally the
CrossPlatform LAF is clearer than the System LAF.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
immanuel.hayden@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
--- Comment #2 from immanuel.hayden@gmail.com 2011-10-14 12:38:04 UTC ---
I currently use Windows XP and Windows 7, but the issue should also exist on
(GTK-based) linux systems.
My point is: The Metal LaF that is currently default for all platforms but Mac
is:
1) really ugly (and not only ugly as in "does not match the rest of the OS
theme")
2) does not use the default open/save dialogue of the OS.
I know that these two points also annoy all my colleagues who use JMeter, so
this is not only an issue for me. This leads me to two observations:
1) Most probably everybody wants to use the System LaF.
2) Most use "Options" -> "Look and Feel" every time they start JMeter until I
point out the config-setting to them.
3) People are pissed by that (Quote C# dev: "haha, this proves why java sucks",
and I can't even blame him)
4) If people encounter a problem with the System LaF (which I haven't found any
so far in Windows) they can still add a line to the config file.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #13 from immanuel.hayden@gmail.com 2011-10-15 08:34:11 UTC ---
Created attachment 27783
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27783
Fedora System LaF
Thanks for the effort you put into this :) You are right regarding the Ubuntu
theme, it really makes it hard to discern between enabled and disabled menu
items [1]. The screenshot shows the situation in Fedora 15 which uses a sane
theme. Sadly I'm pretty sure it's not easy/feasible to sniff that out :/
[1] though this is a general problem with ubuntu's theme used, they really
screwed that up for many apps.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #10 from Sebb <se...@apache.org> 2011-10-14 21:25:09 UTC ---
Created attachment 27780
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27780
System LAF on Ubuntu
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #18 from Sebb <se...@apache.org> 2011-10-15 12:26:45 UTC ---
(In reply to comment #17)
> I guess the optimum would
> be if JMeter remembered what LaF I chose through the Options menu in some sort
> of config, so people won't have to edit the properties-file manually (separate
> config-file because it is easy to overwrite the properties when unziping a new
> version over an old one ;)).
>
> Should I make a new Bug for that or is there one already?
New bug; I don't recall there being an enhancement request.
JMeter can use the Preferences class (as it does for recent file names).
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #11 from Sebb <se...@apache.org> 2011-10-14 21:25:42 UTC ---
Created attachment 27781
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27781
CrossPlatform LAF on Ubuntu
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #4 from Sebb <se...@apache.org> 2011-10-14 13:27:41 UTC ---
Created attachment 27774
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27774
System LAF
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
immanuel.hayden@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
--- Comment #17 from immanuel.hayden@gmail.com 2011-10-15 11:41:54 UTC ---
Ok, i see your concern, so I'll mark this as invalid. I guess the optimum would
be if JMeter remembered what LaF I chose through the Options menu in some sort
of config, so people won't have to edit the properties-file manually (separate
config-file because it is easy to overwrite the properties when unziping a new
version over an old one ;)).
Should I make a new Bug for that or is there one already?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #5 from Sebb <se...@apache.org> 2011-10-14 13:29:59 UTC ---
On my system (Windows XP), the CrossPlatform/Metal LAF looks much better.
The System LAF is ugly.
See the attachments which I created using Shift+Control+G
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #14 from Sebb <se...@apache.org> 2011-10-15 10:04:21 UTC ---
Created attachment 27785
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27785
Ubuntu CrossPlatform test plan showing selected element
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #6 from immanuel.hayden@gmail.com 2011-10-14 16:04:07 UTC ---
Created attachment 27775
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27775
LaF comparisons
Dunno, don't like the Metal look (esp. the buttons) ... anyhow, my greatest
problem is the Feel part anyhow, as any app you style in Metal does not feel
like being part of the rest of the system (and that is meant in a _very_
negative way).
So to come to a description of the image:
#1 First of all the fonts are different which really annoys me as the Metal
font is not nice to look at at all. Second the menu has a different layout (no
dedicated space for symbols on the right).
#2 shows the different open file dialogues, again of a random Win7 app (paint,
i think), then the Metal one which has seriously limited functionality (no
favourites on the left, no breadcrumb urls, generally different than the open
file dialogues any other app uses which makes it hard to use), third the one
that is shown when you activate the System LaF, which is the "legacy" XP-Style
open dialogue (though no big deal, as many apps still use that).
<rant>Anyhow, the whole Point of LaF is that you can get a native look on all
platforms with minimal work, so defaulting to "Metal" (or any other look) on
all platforms is like building a supercomputer farm to print out "hello
world"</rant>
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #15 from Sebb <se...@apache.org> 2011-10-15 10:04:40 UTC ---
Created attachment 27786
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27786
U
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #3 from Sebb <se...@apache.org> 2011-10-14 13:27:18 UTC ---
Created attachment 27773
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27773
CrossPlatform LAF
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #9 from Sebb <se...@apache.org> 2011-10-14 19:10:25 UTC ---
(In reply to comment #8)
> > Also, note that only the CrossPlatform/Metal LAF appears to honour the
> > short-cut underlines.
> That's intended behaviour. They show up (as in all other native programs) only
> when pressing the alt-key.
OK, did not know that.
> > Agreed, the open files dialogue on CrossPlatform is somewhat simpler, but it is
> > still quite usable.
> Sorry, but i have to object. I use JMeter at work for testing a REST-API and we
> have a huge amount of test files. Thus i set up the favorites to point to the
> root location of our TC-Directory as jmeter does not remember the last location between restarts (but that's another story).
Please file a Bugzilla enhancement request with details.
> > According to the Oracle docs, Metal is equivalent to CrossPlatform.
> > The properties file should probably say so.
It does now.
> yeah, but metal should be the fallback when everything else fails, not the
> first choice (at least that's the way I see it).
The fallback is CrossPlatform == Metal
If changing the default did not have such a bad effect on Windows XP, it might
be worth changing the default.
However, it's trivial for you to change the default.
I've not yet had a chance to test it on Windows 7, but if that behaves OK, it
would be possible to change the Windows default but keep the current behaviour
on XP.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #16 from Sebb <se...@apache.org> 2011-10-15 10:16:11 UTC ---
(In reply to comment #15)
> Created attachment 27786 [details]
> Ubuntu System Test Plan showing selected element
Note how the background to the selected element obscures the icon.
It's not as neat as the CrossPlatform version.
I think the same applies to the Fedora GTK LAF, judging by the partially
obscured test plan.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org
DO NOT REPLY [Bug 52026] Default to System-PL
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52026
--- Comment #7 from Sebb <se...@apache.org> 2011-10-14 17:23:37 UTC ---
(In reply to comment #6)
> Dunno, don't like the Metal look (esp. the buttons) ... anyhow, my greatest
Unfortunately the screenshots you provided for the open dialogs are all out of
focus, so it's not clear how the buttons compare.
> problem is the Feel part anyhow, as any app you style in Metal does not feel
> like being part of the rest of the system (and that is meant in a _very_
> negative way).
All I can say is that the System LAF looks terrible on my WinXP system; ugly
fonts and harsh shadows.
The difference between your screen shots is minimal compared with the
difference between mine - have a look.
Also, note that only the CrossPlatform/Metal LAF appears to honour the
short-cut underlines.
> So to come to a description of the image:
> #1 First of all the fonts are different which really annoys me as the Metal
> font is not nice to look at at all. Second the menu has a different layout (no
> dedicated space for symbols on the right).
Huh? I can see menu symbols in your comparison.png
> #2 shows the different open file dialogues, again of a random Win7 app (paint,
> i think), then the Metal one which has seriously limited functionality (no
> favourites on the left, no breadcrumb urls, generally different than the open
> file dialogues any other app uses which makes it hard to use), third the one
> that is shown when you activate the System LaF, which is the "legacy" XP-Style
> open dialogue (though no big deal, as many apps still use that).
Agreed, the open files dialogue on CrossPlatform is somewhat simpler, but it is
still quite usable.
> <rant>Anyhow, the whole Point of LaF is that you can get a native look on all
> platforms with minimal work, so defaulting to "Metal" (or any other look) on
> all platforms is like building a supercomputer farm to print out "hello
> world"</rant>
According to the Oracle docs, Metal is equivalent to CrossPlatform.
The properties file should probably say so.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org