SafeExamBrowser / seb-win-refactoring

Safe Exam Browser for Windows.
https://www.safeexambrowser.org/news_en.html
Mozilla Public License 2.0
165 stars 106 forks source link

SEB 3.7.0: Clipboard Policy: SEB Only - Copy-Paste issue #910

Open AntonT76 opened 3 weeks ago

AntonT76 commented 3 weeks ago

Hi, I have found a strange issue with SEB 3.7.0.682 together with the new clipboard policy (SEB Only). We try to allow students so copy & paste some text from other websites in Moodle essay question type. Maybe it is similar to the issue https://github.com/SafeExamBrowser/seb-win-refactoring/issues/890

Describe the Bug We changed SEB configuration:

Students are able to copy content, but

If I set "Clipboard Policy - Allow" to true, there is no problem with copy/paste (see screenshots and log files below)

Steps to Reproduce Steps to reproduce the behavior - Setting 1 SEB Only:

  1. create a SEB Config file (set "Clipboard Policy - SEB Only" to true, allow additional websites)
  2. create a test with some essay questions and links to additional website
  3. start SEB, start quiz, go to essay question, click on the link
  4. website will be opened in an additional SEB window
  5. mark all the code, copy it into essay question (STRG-C + STRG-V) --> only the first line will be copied
  6. go to an other website, try to copy some text (STRG-C + STRG-V) --> whole text will be copied, but no formating

Steps to reproduce the behavior - Setting 2 Allow:

  1. create a SEB Config file (set "Clipboard Policy - Allow" to true, allow additional websites)
  2. create a test with some essay questions and links to additional website
  3. start SEB, start quiz, go to essay question, click on the link
  4. website will be opened in an additional SEB window
  5. mark all the code, copy it into essay question (STRG-C + STRG-V) --> all line will be copied
  6. go to an other website, try to copy some text (STRG-C + STRG-V) --> whole text with formating will be copied

Expected Behavior If I mark all the content, the whole content should be copied including formating options.

Screenshots You can find screenshots in ZIP file. screenshots.zip

Version Information

Additional Context You can find the log files in ZIP file. logs.zip

best regards, Anton

dbuechel commented 2 weeks ago

Thanks for the extensive report. This might well be a limitation of the current implementation, as we at the moment only share the raw text content between windows. We will investigate whether we can improve this in an upcoming version.