Bug 111791

Summary: FreeBSD website messes up while using "links" browser
Product: Documentation Reporter: Justin Hibbits <jrh29>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Justin Hibbits 2007-04-17 22:10:02 UTC
The FreeBSD website's use of javascript on the Text Size: Normal /
Large fields causes keys to be ignored in the links web browser.  This
makes it especially difficult to navigate since the only way to select
any link below it is to use a mouse, and the only way to navigate away
from the site once the cursor is on one of these links is to ESC to the menubar.

Fix: 

Disable javascript.
How-To-Repeat: Load www.freebsd.org into a links session, and move the cursor to the Normal link.
Comment 1 eps+pcmt0704 2007-04-19 18:01:13 UTC
Justin, you're not the first person to be burned by this.  I
submitted my own PR (www/107291), and got blown off the same
way.  It's a legitimate complaint, and it's one of the most
frequent examples pointed out to me [by Linux advocates] of
how "we" "just don't get it."

-------

For Mozilla-branded browsers (Firefox, SeaMonkey), add the
following lines to your prefs.js [while the browser is not
running!]:

user_pref("capability.policy.nojs.javascript.enabled", "noAccess");
user_pref("capability.policy.nojs.sites", "http://www.freebsd.org http://docs.freebsd.org http://people.freebsd.org");
user_pref("capability.policy.policynames", "nojs");

You don't need to install any extensions, and this will not
adversely impact your enjoyment of any non-FreeBSD sites.

-------

Our web site is an important marketing and communications tool.
In its current state, it's alienating the very people we're
trying to reach.  The adamant refusals to repair what is so
obviously and seriously broken only help fuel a mounting
perception that FreeBSD has fallen into the hands of arrogant
jerks (believe me, I'm toning this down).  I'm seeing a lot of
small and medium-sized businesses migrate their [no longer
supported] FreeBSD 4.x-based infrastructure away from FreeBSD
entirely.  The number one reason they give for this is
"attitude."  This outranks concerns about technical issues
(features, performance, etc.).  They don't like the current state
of affairs, and have little confidence things will turn around
any time soon.

FreeBSD is driven by a large, enthusiastic volunteer community.
The vast majority are good, hard-working, caring people, who help
keep us on track.  There are a few--and I stress few--whose
actions (or inactions) reflect poorly on the rest of us.  This is
hardly a unique situation.

Thank you for adding your voice, and try not to let this
experience dampen your enthusiasm.

					-=EPS=-
Comment 2 Mark Linimon 2007-04-20 07:23:46 UTC
Let me see if I can try to address some of the issues that you bring
up in your mail.  I will note that I have no official status on the
www team; my hats are portmgr@ and bugmaster@.

On Thu, Apr 19, 2007 at 05:10:10PM +0000, Eric P. Scott wrote:
> Justin, you're not the first person to be burned by this.  I
> submitted my own PR (www/107291), and got blown off the same
> way.  It's a legitimate complaint [...]

If I can paraphrase what remko@ said when he originally closed the
PR, the problem may be worth investigating, but the best approach
would be to start a discussion on the freebsd-www mailing list to try
to see what approach can be agreed on.  It's not something that can
be fixed by an easy patch; we need to get people to agree on what we
want to do first.

> and it's one of the most frequent examples pointed out to me [by
> Linux advocates] of how "we" "just don't get it."

Are you speaking of this particular bug, or the type of response?

I won't say that I would have worded the response exactly the same way
that remko did (I do have the advantage of having English as my primary
language, and several more years' experience dealing with FreeBSD PRs),
but _what_ he said does not seem that unreasonable to me.

To me, it's a big jump from a response to one PR to a generalization
about how the project works.  If remko's response wasn't appropriate,
I would rather this have been handled by email to bugmaster@, or, if
that is unsatisfactory, to core@.

FreeBSD does indeed have a few individuals (I do not count remko as one
of them) who can be irritable, or even irritating.  However, the vast
majority of people who work on FreeBSD just go about working on areas
that they find interesting, without creating a great deal of fuss or
bother.  These are the true heroes of our project and not enough is said
about them.  To me, they're the ones that set the tone of the project,
and the others I do my best to ignore.

> Our web site is an important marketing and communications tool.  In
> its current state, it's alienating the very people we're trying to reach.

I know that the current website design is controversial, but not everyone
agrees that it is that bad off.  The problem with any project is that
achieving perfect consensus is impossible.

> The adamant refusals to repair what is so obviously and seriously
> broken only help fuel a mounting perception that FreeBSD has fallen
> into the hands of arrogant jerks

Please understand, it's your opinion that it's seriously broken; not
everyone agrees.  (I, myself, have no opinion.)

As for the 'mounting perception', I would counter that when I first
started following FreeBSD around 2002, that there were indeed problems
both with the volunteers, and the codebase.  (The extra years that it
took to get past our rewrite to move towards SMP cost us, both in
terms of user perception, and the stress level of the volunteers;
some of which was reflected in the user lists.)

However, since the release of 6.0 (which had a very small number
of problem reports as compared to the 5.X releases), my impression
is the opposite of yours: we seem to be seeing far fewer PRs for
the base system (even as the ports PRs show that people are indeed
adopting 6.X); the interest about new features on the mailing lists
is up; and some companies that use FreeBSD in their products are
taking interest in 6.X, including some that decided to simply skip
5.X to see what happened.  In addition, behind the scenes there is
some interesting work being done in increasing the performance for
what will become 7.0.  With the 5.X series, there was simply too much
code churn for anyone really to focus on performance.  We learned
from the mistakes we made during that timeframe: we will no longer
hold releases indefinitely waiting for features to be complete; we
will try to release on a regularly scheduled basis rather than letting
the feature set dictate; and we will be much stricter on backing out
feature sets before major releases if we find that they aren't ready
yet.  I think this proves that we are willing to admit mistakes,
learn, and go forwards, even given that it's a painful process.

> (believe me, I'm toning this down).

Well, I'm thankful for that, at least.  It is very challenging to
do a great deal of work and then get strongly negative feedback for it.
I don't think this is something that one appreciates until sitting on
this side of the equation ...

> I'm seeing a lot of small and medium-sized businesses migrate their
> [no longer supported] FreeBSD 4.x-based infrastructure

4.X is no longer suitable for modern hardware.  5.X and 6.X completely
revised (or introduced) the interrupt handling code, the power handling
code, and the ATA code, among other things.  This is in addtion to all
the rework necessary for pratical support of multiple CPUs and multiple
cores, which are rapidly becoming the rule rather than the exception.

Are there regressions in 6.2 vs. 4.11?  Yes, a few, mainly falling
into the categories of a) performance and b) certain hardware.  As I've
mentioned above, we are working hard on a).  For case b), I'm trying
to work through GNATS and identify regressions on at least the most
common hardware that's out there.  (It is impossible to support every
single possible system, of course.)

I would also be interested to know why the businesses you mention haven't
been active on the mailing lists saying that that's what they are doing.
Without this, it is hard for me to evaluate what kind of job we're really
doing.

Finally, developer attention to 4.X effectively stopped more than 2 years
ago.  For a while, we required the ports developers to keep supporting it,
but it's simple too much to ask for anyone to support 4 (!) major branches
at once.  We're down to 3 now; I have strongly lobbied for there to only
be two at any given time in the future.  However, we may well be stuck
with 3, due to committments we've already made.

The decision from the portmgr team (which I am on) to delete to support
for 4.X was for two reasons: one, to ease the burden on our maintainers
and committers (although we had told them that it was optional, they
were still spending a fair amount of time trying to keep ports going
with various changes anyways); and two, to try to move the userbase off
of it, rather than letting the issue drag on into the indefinite future.
This latter is what convinced me that it was time to make those commits.

> away from FreeBSD entirely.  The number one reason they give for this
> is "attitude."  This outranks concerns about technical issues (features,
> performance, etc.).

It depends on who you ask.  To some users, stability is the only thing
that matters; to others, without high performance, it's not even worth
considering FreeBSD.  Everyone else says "we're going to leave unless
feature XYZ is added."  To other people, the way that the develpers
interact with them is the most important.  However, my own feeling from
reading the mailing lists is that they are in the minority.

> They don't like the current state of affairs, and have little
> confidence things will turn around any time soon.

Again, my own impression is that we've made progress since 2002.  If
these other users feel like this, they need to speak up (if not on
the public mailing lists, to core@) so that we can try to identy and
fix problems.

> FreeBSD is driven by a large, enthusiastic volunteer community.
> The vast majority are good, hard-working, caring people, who help
> keep us on track.  There are a few--and I stress few--whose
> actions (or inactions) reflect poorly on the rest of us.  This is
> hardly a unique situation.

This is going to be true of any volunteer project.  Again, although
I would not have worded the response the way that remko@ did, I do
feel he's one of the "good guys" on the project, and because of all
the work he's done, deserves a little leeway.  I hope you can see my
point of view on this.

> Thank you for adding your voice, and try not to let this
> experience dampen your enthusiasm.

mcl
Comment 3 murray.stokely 2008-12-15 00:41:48 UTC
What is the status of this bug?  I use links often on
http://www.FreeBSD.org to test my changes and so I'm not sure what the
complaint is.  I can navigate fine with the arrow keys between the
different sections of the web site.

We'd certainly like to be very links friendly, but in this day and age
that means degrading gracefully when javascript is not present of
course, not disabling it completely.

          - Murray
Comment 4 Justin Hibbits 2008-12-15 03:39:51 UTC
The complaint was that links has javascript, at least it could be compiled with
it, and when navigating to www.freebsd.org with javascript enabled, the arrow
keys will not go beyond the Normal/Large font field, and gets stuck on them,
because of the 'onkeypress="return false;"' part of the link, I'm assuming.  I
don't currently have a version of links compiled with javascript, but judging
by just reading the page source, I assume the problem still exists.

- Justin
Comment 5 Murray Stokely freebsd_committer freebsd_triage 2008-12-15 04:13:33 UTC
State Changed
From-To: open->feedback

Please try these two modified home pages and let us know if you have 
the problem with either or both of them : 

http://people.freebsd.org/~murray/patches/index-nokeypress.html 
http://people.freebsd.org/~murray/patches/index-keypress.html 

The images and stylesheets and such won't work but the basic 
javascript issue is changed here. 

The diff for the first page is : 
http://people.freebsd.org/~murray/patches/onkeypress2.diff 

And for the second page is : 
http://people.freebsd.org/~murray/patches/onkeypress.diff
Comment 6 murray.stokely 2008-12-15 04:31:29 UTC
I've just uninstalled www/links1 and installed www/links which
supposedly has javascript support and I still don't see a problem.  I
can use my arrow keys to navigate around the website just fine.

Please be more specific about what browser you are talking about, and
exactly how you reproduce this problem.

Thanks,

Murray
Comment 7 Justin Hibbits 2008-12-15 14:07:55 UTC
On Sun, Dec 14, 2008 at 08:31:29PM -0800, Murray Stokely wrote:
> I've just uninstalled www/links1 and installed www/links which
> supposedly has javascript support and I still don't see a problem.  I
> can use my arrow keys to navigate around the website just fine.
> 
> Please be more specific about what browser you are talking about, and
> exactly how you reproduce this problem.
> 
> Thanks,
> 
> Murray

I just tried to configure/compile links with javascript, but according to the
changelog it was removed about 18 months ago from the tree, so I guess it's no
longer a problem for new releases.  The last version with javascript was
2.1pre28, according to the changelog.

- Justin
Comment 8 Gavin Atkinson freebsd_committer freebsd_triage 2009-04-17 15:08:30 UTC
State Changed
From-To: feedback->suspended

Mark suspended, this seems to still be a problem, but the original 
submitter can no longer confirm that this is the case
Comment 9 Remko Lodder freebsd_committer freebsd_triage 2014-02-24 11:42:46 UTC
State Changed
From-To: suspended->closed

It seems that since 2009 this PR is suspended and my younger 
self was involved during that time. My apologies for giving 
unsatisfying answers back then. It seems the issue cannot 
be reproduced anymore and the option that got us this far 
was no longer there back in 2009. I think that after 5 years 
this is best be closed as I do not think additional actions 
will take place... 


Thank you for your submission though!