It should open 'file.txt' folder, showing it selected. (maybe with the sidebar open? cc @pmaier1 )
It opens the folder 'FOLDER'. The permalink points to that folder. File 'file.txt' is not selected.
This affects mobile development (cc @nasli).
Operating system:
Ubuntu 16.04
Web server:
Apache
Database:
MySQL
PHP version:
7.0
ownCloud version: (see ownCloud admin page)
current master
{"installed":"true","maintenance":"false","needsDbUpgrade":"false","version":"10.0.2.1","versionstring":"10.0.2.1","edition":"Community","productname":"ownCloud"}
Updated from an older ownCloud or fresh install:
Fresh
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
No.
Are you using encryption:
No
Logs
Browser
Firefox
Logs
So the highlighting for private links apparently does not work. This is really bad as it's actually the most important part of the feature.
@felixheidecke please take a look and get this fixed!
How did this work in the past?
Highlighting the file is a nice idea, and of course, it will open the folder :-)
This is not a bug!
How did this work in the past?
The folder opened in the browser and respective file/folder was highlighted. You can try with oC < 10, e.g. our internal instance.
I see this still works in some cases. Don't know why yet.
in this case it's a bug/regression, not enhancement.
@felixheidecke any update ? maybe bisecting could help once consistent reproduction was achieved ?
moving to "planned" for the next release...
moving to "planned" for the next release...
Hmm, this feature is essential for private links IMO. Really bad that we could not fix it in time.
@felixheidecke Next time please tell us when you need help with things. Especially if they are high prio.
moving back... @felixheidecke
The problem here is the following: The function to scroll to and highlight the file scrollTo() and highlightFiles() runs before the contents of the subfolder are displayed getFolderContents().
highlighting should be the very last function to run to ensure the file is present within the view. I'm currently looking for a nice way to do that. Lots of code to dig thru tho. :sweat_smile:
I wonder if this problem is due to https://github.com/owncloud/core/issues/27890.
A quick hack would be to call _.defer for the scroll to happen later...
I'm not seeing this one fixed in 10.0.3 stable w/ firefox/safari
there is no 10.0.3 stable, do you mean 10.0.3RC1?
Confirmed happening on 10.0.3RC1... maybe some other changes affected this
@pmaier1 another known issue
I believe it existed in 10.0.2 already, so might not be worth mentioning again in the release notes ?
Ok I see... actually @felixheidecke's fix was valid back then because of another bug. Now that said bug is fixed, his fix doesn't work any more. Said bug is https://github.com/owncloud/core/pull/28843.
Fix incoming...
Fix is here, I reverted @felixheidecke's workaround and now it works again: https://github.com/owncloud/core/pull/29019
The original issue was that the file list double-loaded, so while the first load would have scrolled, the second load cancelled it, so @felixheidecke catered for that. Now the double load is gone, so the event doesn't fire that late any more.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.