Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick-tree not available in Firefox #1983

Open
stefan-scholl opened this issue Aug 23, 2016 · 5 comments
Open

Quick-tree not available in Firefox #1983

stefan-scholl opened this issue Aug 23, 2016 · 5 comments

Comments

@stefan-scholl
Copy link

I was wondering why I can't see the quick-tree. I'm using Firefox.

Testing it in Google Chrome I suddenly see the quick-tree. As Firefox is the most used browser in my country (Germany) this is a bit awkward.

@processwired
Copy link

processwired commented Aug 23, 2016

As Firefox is the most used browser in my country (Germany)

Well, it depends. It just can't be said that clearly - it depends on which statistical values have been factored. Some services count page impressions, some count visits. It seems to be more a neck-and-neck race between Chrome and Firefox in Germany - maybe you are just riding the wrong horse of the two ;-)
SCNR

@benbyford
Copy link

ha, your right not very useful. Firstly quick-tree is an alteration to the admin. You can create new admin themes so if you want to help fix it, knock yourself out.

personal i've never had or used this feature, and create my own admin themes to white list for clients so isnt a breaking issue for me or all of my clients over the last 6 years. but as i mentioned as its open source, please help us make PW better and work on all browsers etc.

@processwired
Copy link

My first post was somewhat off-topic, sorry. Quick-tree works fine for me in Firefox 48.0.1, PW 3.0.30. Perhaps you've got some module activated which injects some destructive JavaScript? Any messages in Firefox JS console?

@stefan-scholl
Copy link
Author

touch was set to true in the session.

The PHP code which adds the quick-tree to the breadcrumb (default theme) or top navigation (reno theme) only runs if touch isn't true in the session.

Status of touch is set in the session after login. The login_touch field gets submitted by the login. ProcessLogin.js checks for a touch device and sets the login_touch field:

// detect whether or not it's a touch device
var touch = (('ontouchstart' in window) || (navigator.MaxTouchPoints > 0) || (navigator.msMaxTouchPoints > 0));
$("#login_touch").val(touch ? 1 : 0);

My Firefox gave you true for ('ontouchstart' in window).

I checked in the Firefox settings (about:config) and dom.w3c_touch_events.enabled was set to 1.

I don't remember setting it to this value and none of the extensions are touch related. The setting was once enabled by default by Firefox but disabled after some problems with popular sites like Twitter and Google: https://bugzilla.mozilla.org/show_bug.cgi?id=888304

Very obscure problem.

@stefan-scholl
Copy link
Author

This would mean that quick-tree isn't shown on all touch enabled devices, no matter how large the viewport. No quick-tree on Surface Pro etc.?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants