Closed
Bug 856388
Opened 13 years ago
Closed 8 years ago
changing hidden attribute/property of menuitem elements has no effect
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
INACTIVE
People
(Reporter: grosser.meister.morti, Unassigned)
References
()
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0
Build ID: 20130308202345
Steps to reproduce:
I want to programatically change the hidden state of a menuitem of a html5 context menu. I tried to change the hidden property to boolean true/false or to add/remove a hidden attribute. No change in either case.
Changing the disabled property *does* work and changing the hidden property under desktop Firefox 19 does also work.
It's about the "Enable Drag-and-Drop Edit" and "Disable Drag-and-Drop Edit" menu items for songs in the playlist of this player (both items are only shown on touch devices because only there D'n'D conflics with scrolling and such):
http://greattuneplayer.jit.su/
Actual results:
Nothing.
Expected results:
Menuitems should be (un)hidden appropriately.
| Reporter | ||
Updated•13 years ago
|
| Reporter | ||
Comment 1•13 years ago
|
||
Interestingly it kinda works when you install the web page as an app. "Kinda" means that I change the hidden state in the contextmenu event, which seems to be to late. It only shows the changed state the next time the context menu is shown. I think I can work around this bug.
Comment 2•12 years ago
|
||
Do you still see the issue on latest Nightly for Android? (http://nightly.mozilla.org/)
Flags: needinfo?(grosser.meister.morti)
| Reporter | ||
Comment 3•12 years ago
|
||
Using Firefox 30.0 and Firefox OS 1.4 Simulator 1.4.20140506 and this example http://fiddle.jshell.net/UpJUz/show/ (http://jsfiddle.net/UpJUz/) I can still reproduce the bug. Currently I download the Firefox OS 2.1 simulator and the newest version of the 1.4 simulator and will re-try.
PS: Why cant I copy any version information from the add-ons page and have to type it out? Does not make any sense. Actually I don't understand why there is text that can't me selected and copied at all.
Flags: needinfo?(grosser.meister.morti)
| Reporter | ||
Comment 4•12 years ago
|
||
Updated Firefox OS 1.4 Simulator has the same problem and the 2.1 Simulator won't show up as installed simulator. It writes this to the log (and stdout):
console.error: fxos_2_1_simulator:
Error opening input stream (invalid filename?)
console.error: fxos_2_1_simulator:
Error opening input stream (invalid filename?)
| Reporter | ||
Comment 5•12 years ago
|
||
It does work with Firefox 29.0.1 on an old Android device. It's only in the Firefox OS Simulator where it does not work. I don't know if it is the same under a real Firefox OS device because I don't have one.
Comment 6•9 years ago
|
||
I don't know what is wrong,but there are always some problems with Firefox browser when it comes to hidden attributes and property. Maybe it depends on updated versions. By the way, I have same stuff as the previous user. Whenever I change the shrouded state in the context menu, which is by all accounts is late and it demonstrates the changed express whenever the setting menu is appeared. Someone needs to work on that bug.
_________________________________________
Keep yourself well-informed about bug updates.
http://buyessay.info/ - get info on bugs.
Comment 7•8 years ago
|
||
Closing per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195
Contact :susheel if you think this bug should be re-opened
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INACTIVE
| Assignee | ||
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•