-
Notifications
You must be signed in to change notification settings - Fork 43
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
Search-function in a pdf document not working #472
Comments
I just confirmed that the search in PDF files in SEB for macOS 3.4.1 works in general with this PDF: https://safeexambrowser.org/presentations/HowTo_SEB2.0.pdf
|
Yes, I just got the answer that on a MacBook Air with Sonoma 14 it works. But obviously those users who reported the problem use an iPad. |
Got another message from a student using Macbook Pro with Sonoma 14.6.1. that search doesn't work. |
Another feedback from two students:
|
As I said before: It won't work if SEB is using the classic WebView. I will assume that's the problem there until someone provides me with a test link I can try it out myself. I will close this issue otherwise. |
I don't know if classic WebView is used, how should I know? We use Moodle and therefore we don't have anything to do with the configuration. And all the students that reported, use the same configuration file and the newest version of the SEB. Since the Quiz with SEB is within our Moodle system I can't get you a direct access. You would have to log in our Moodle with your Switch EDU Id and then I could give you access. |
Also it's always a good idea to send log files (as mentioned on our support page and in the template when you create an issue). It's mentioned in there which WebView is used and I might be able to find out why the search doesn't work. But I'm happy to try to reproduce the issue (maybe next week, as i'm working on a release right now), you can send me more information like the link to your Moodle server to info at safeexambrowser dot org. |
I try to organize the logfiles. |
Ok, I logged into your Moodle. |
Der Zugang zum Moodle-Quiz ist: |
org.safeexambrowser.SafeExamBrowser 2025-01-29--09-43-13-387.log Hier ein log file eines MacBook Air mit Sonoma 14.4 Hier funktioniert die Suche. Ich warte noch auf Rückmeldungen von Studierenden, wo es nicht funktioniert. |
Did you see the disclaimer for text search in the browser (in the tooltip in Settings or in SEB for macOS Release Notes): Added text search for web pages: Use the search icon in the browser window toolbar or cmd-F. This feature is not available in the full screen mode main window. Search in PDFs works only in modern WebView and macOS >=11 (currently not in iOS). This would explain the cases where text search didn't work on Macs if those students were using an older macOS version than 11 Big Sur. As mentioned, on iOS/iPadOS text search in PDFs currently doesn't work at all. I will file a feature request to Apple, but if they fix it, it will only work in new iOS versions. Until then you would need to use a server-side PDF renderer like pdf.js. We at ETH use Polybox, which is based on Own Cloud. That uses pdf.js on macOS/iOS for rendering PDFs and then text search always works. Maybe there is a pdf.js plugin for Moodle? |
Yes, I think you got it. _Added text search for web pages: Use the search icon in the browser window toolbar or cmd-F. This feature is not available in the full screen mode main window. Search in PDFs works only in modern WebView and macOS >=11 (currently not in iOS). This would explain the cases where text search didn't work on Macs if those students were using an older macOS version than 11 Big Sur._We need to make our students aware of this in the next exam session. To put the files in an other place than in the Moodle course is not an option for us. So it seems, that we have to live with it. Thank you. |
I just did a quick search and it seems there was a pdf.js plugin for Moodle, which renders PDF files on the server (so search should work on all SEB platforms): https://moodle.org/plugins/mod_pdfjsfolder Also there is this PDF annotation plugin: https://moodle.org/plugins/mod_pdfannotator I'm interested to find a Moodle workaround for this question, but don't have time right now to look into it myself, but maybe someone can give us input on this. Also I will report the iOS PDF search issue to Apple and look into if SEB could add a better PDF view with search (but this would be more work and might take longer time). |
I installed the plugin. But it only works with very small files. My idea was to implement a Moodle filter with pdf.js. But now I have to find out where the problem is with bigger files. |
We use SEB in a Moodle-quiz. In a question there is a link to a pdf-file. When you click the link the pdf shows in a separate window.
There is a search function. Unfortunately it is not working.
Normaly (in Windows) the word is highlighted an you can search the next entry. But on the macOS, no word is highlighted, no possibility to go to the next word.
Used the newest version 3.4.1 on two different devices.
The text was updated successfully, but these errors were encountered: