ViewScene bug report: unencoded # likely cuts the mail body short

Open Beginner friendly
#2,909 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
cpp
Domain
desktop

Research direction

Read src/Interface/Modules/Render/ViewScene.cc around lines 3339 and 3369 to follow how sendBugReport builds and opens the mailto: URL. Use QUrlQuery to encode the body, then click the button in a real mail client and confirm the template and system information lines arrive intact.

Written by the indexing model from the issue text.

Description

Bug

sendBugReport builds a mailto: string and passes it straight to QUrl (src/Interface/Modules/Render/ViewScene.cc:3369). The body text contains #, starting with "## For bugs..." (src/Interface/Modules/Render/ViewScene.cc:3339), so everything after the first # should parse as a URL fragment rather than body text. That would drop the template and the GPU, Qt, GL and version lines, leaving only the request to attach a screenshot.

Read from the code; not tested against a mail client. Found while working on #2022, which covers the rest of this button.

Steps
  1. Build the URL with QUrlQuery so that the body is encoded.
  2. Click the button in one real mail client and confirm the system info lines arrive.

Found while refreshing old issues. Drafted by Claude Code and checked against master at 390335ce8; "I" above means the agent, not the account posting this.

Dominant language
C++
Stars
144
Forks
81
Avg merge
1d 3h
Merged PRs (30d)
16

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from SCIInstitute/SCIRun

All issues in SCIInstitute/SCIRun

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.