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

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

Open
AntonT76 opened this issue Jun 12, 2024 · 1 comment
Open

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

AntonT76 opened this issue Jun 12, 2024 · 1 comment
Assignees
Labels
enhancement This issue proposes an enhancement of the software.

Comments

@AntonT76
Copy link

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 #890

Describe the Bug
We changed SEB configuration:

  • tab "Security"
  • Clipboard Policy
  • Set "SEB Only" to true
    and we also allow students to open a new SEB Window (in this case: https://onecompiler.com/).

Students are able to copy content, but

  • only the first line of code instead of the whole code will be copied
  • text content will be copied without formating
    Please see screenshots an log files below.

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

  • OS: Windows 10 (22H2, Build 19045.4412)
  • SEB-Version 3.7.0.682
  • Moodle-Version 4.1.6+ (Build 20231102)

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

best regards, Anton

@dbuechel
Copy link
Member

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.

@dbuechel dbuechel added the enhancement This issue proposes an enhancement of the software. label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue proposes an enhancement of the software.
Projects
None yet
Development

No branches or pull requests

2 participants