-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Permalink to files in subfolders doesn't point to the file. #28106
Comments
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? |
This is not a bug! |
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... |
Hmm, this feature is essential for private links IMO. Really bad that we could not fix it in time. |
moving back... @felixheidecke |
The problem here is the following: The function to scroll to and highlight the file 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. 😅 |
I wonder if this problem is due to #27890. A quick hack would be to call |
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 #28843. Fix incoming... |
Fix is here, I reverted @felixheidecke's workaround and now it works again: #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. |
Steps to reproduce
Expected behaviour
It should open 'file.txt' folder, showing it selected. (maybe with the sidebar open? cc @pmaier1 )
Actual behaviour
It opens the folder 'FOLDER'. The permalink points to that folder. File 'file.txt' is not selected.
This affects mobile development (cc @nasli).
Server configuration
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
Client configuration
Browser
Firefox
Logs
The text was updated successfully, but these errors were encountered: