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

App menu icons dissapear when using the file app on firefox #2005

Closed
Luticus opened this issue Nov 3, 2016 · 13 comments
Closed

App menu icons dissapear when using the file app on firefox #2005

Luticus opened this issue Nov 3, 2016 · 13 comments

Comments

@Luticus
Copy link

Luticus commented Nov 3, 2016

Steps to reproduce

1.launch nextcloud in firefox
2.make sure you're using the files app
3.click the apps menu and observe the app icons disappear

Expected behaviour

Tell us what should happen
Icons should stay visible

Actual behaviour

Tell us what happens instead
Icons disappear

Server configuration

Operating system:
Debian Jessie
Web server:
Apache

Database:
Mysql

PHP version:
5.6

Nextcloud version: (see Nextcloud admin page)
10.0.1

Updated from an older Nextcloud/ownCloud or fresh install:
Update

Where did you install Nextcloud from:
downloaded from nextcloud site

Signing status:

Signing status Disabled this functionality due to the external app storing custom icon files in it's directory. Got tired of that triggering the alert. ``` Login as admin user into your Nextcloud and access http://example.com/index.php/settings/integrity/failed paste the results here. ```

List of activated apps:

App list
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

The content of config/config.php:

Config report
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or 

Insert your config.php content here
(Without the database password, passwordsalt and secret)

Are you using external storage, if yes which one: local/smb/sftp/...
yes, google, local

Are you using encryption: yes/no
no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
no

Client configuration

Browser:
firefox/chrome

Operating system:
Debian Jessie and Debian Stretch
Mac OS

Logs

Web server error log

Web server error log ``` Insert your webserver log here ```

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` Insert your Nextcloud log here ```

Browser log

Browser log ``` Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

</details>

I know there's a few missing details above, like the applist.  I can comment on those when I get home.  Thanks.
@Luticus
Copy link
Author

Luticus commented Nov 3, 2016

Above I stated that the browser am using is both firefox and chrome. That's true but as far as I've seen the behavior is only noticed in Firefox. Chrome seems to work.

@nickvergessen
Copy link
Member

Yeah only happens in Firefox.
I tracked this down to the following line:

window.history.pushState(params, '', url);

When this line is commented out, the icons remain visible. Not sure how that is related thou.
I guess something is killing the SVG invert-filter...

@juliushaertl @nextcloud/javascript anyone with an idea?

@nickvergessen
Copy link
Member

Happens on 10 and 11 (master)

@juliusknorr
Copy link
Member

juliusknorr commented Nov 4, 2016

@nickvergessen I've just found this issue: https://bugzilla.mozilla.org/show_bug.cgi?id=652991

@juliusknorr
Copy link
Member

So it will be fixed in Firefox 51, but i guess we sould have a look for a workaround.

@nickvergessen
Copy link
Member

Awesome,.... rexxars/react-hexagon#4 (comment) was linked as a workaround, maybe you can extract something for us?

@juliusknorr
Copy link
Member

I'll try this later today.

@MorrisJobke
Copy link
Member

Fixed via #2018

@Luticus
Copy link
Author

Luticus commented Nov 7, 2016

I implemented the work around in core/js/js.js and it seems to work so far. Thank you very much for the fix!

@Luticus
Copy link
Author

Luticus commented Nov 7, 2016

Fix breaks folders in the nextcloud interface. Had to remove it, unfortunately.

@nickvergessen
Copy link
Member

@Luticus try adding this on top:
https://github.com/nextcloud/server/pull/2036/files

@juliusknorr
Copy link
Member

I'm sorry that i missed the javascript error in Firefox in my first PR. After a review of the Firefox issue, i made a new PR #2040 that applies the firefox hotfix to the svg filters as well.

@Luticus
Copy link
Author

Luticus commented Nov 8, 2016

@nickvergessen, the new line allows me to browse sub directories correctly but sadly doesn't fix the icon issue.

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