php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49783 Clicking around on the website makes things disappear
Submitted: 2009-10-05 21:52 UTC Modified: 2009-10-09 19:57 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: mike at damm dot com Assigned: bjori (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: Mac
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mike at damm dot com
New email:
PHP Version: OS:

 

 [2009-10-05 21:52 UTC] mike at damm dot com
Description:
------------
On a documentation page Clicking between the title of a section on the left and the "Report a Bug" on the right causes the contents of the section to disappear.


Reproduce code:
---------------
---
From manual page: function.strpos#Return Values
---
1. Visit php.net/strpos
2. In the first light blue box click between "Description" and "Report a Bug"
3. Contents of the box will disappear


Expected result:
----------------
UI explaining that this will happen, and UI for getting the contents back.

An even better fix would be to eliminate this crap.

Actual result:
--------------
Total and complete FAIL.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-05 21:57 UTC] danbrown@php.net
We're sorry, there is no substitute for common sense by our users, as is 
evident in such a case.  Collapsible sections are new technology, and we 
hope that you'll someday learn how the concept works, and feel 
comfortable returning when you've gained more web surfing experience.

Thanks for your report!

P.S. - To "eliminate this crap," as was incorrectly submitted as a bug 
(not a feature request), simply click the area once more.  Voila!  What 
once was lost now is found!
 [2009-10-05 22:41 UTC] mike at damm dot com
I am sorry I hurt your feelings, since you clearly spent dozens of minutes adding this feature.

In the future I will make a note of visiting the jQuery example page you lifted the code from to get a handle on the expected behavior before reporting that it lacks any coherent usability design or function.
 [2009-10-05 22:44 UTC] danbrown@php.net
That's all we ask.  Thanks!
 [2009-10-05 22:46 UTC] mike at damm dot com
P.S. Love your books!
 [2009-10-06 07:38 UTC] bjori@php.net
We should add an icon for collapsing these sections though
 [2009-10-06 15:29 UTC] danbrown@php.net
I'd agree.  Fairly certain the original submitter here later submitted 
Bug #49784.
 [2009-10-07 04:15 UTC] aharvey@php.net
Since this is really bugging me, I figured I'd come up with a possible patch to be productive about it. :)

The patch (against the current web/php trunk) is at http://www.adamharvey.name/patches/bug-49783-hide-show.patch, and reuses the note icons as togglers for each section and the user notes. It's worked in my admittedly somewhat limited testing in Firefox, Chrome and IE 8.

Obviously, as an outsider, I'm unaware of any coding standards this should be adhering to, so it may be horribly unusable, but hopefully it's at least a useful starting point.
 [2009-10-07 04:15 UTC] aharvey@php.net
That link should be http://www.adamharvey.name/patches/bug-49783-hide-show.patch -- I should really cook up another patch to fix the URL autolinking at some point. :)
 [2009-10-07 08:48 UTC] svn@php.net
Automatic comment from SVN on behalf of bjori
Revision: http://svn.php.net/viewvc/?view=revision&revision=289274
Log: Fixed bug#49783 (Clicking around on the website makes things disappear)
# Patch by Adam Harvey, aharvey@
 [2009-10-07 08:49 UTC] bjori@php.net
This bug has been fixed in SVN. Since the websites are not directly
updated from the SVN server, the fix might need some time to spread
across the globe to all mirror sites, including PHP.net itself.

Thank you for the report, and for helping us make PHP.net better.

Thanks Adam!
 [2009-10-09 19:57 UTC] mike at damm dot com
Thanks. Glad to see this fixed. The new UI is much better.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 21:00:02 2026 UTC