global config: fix unclickable dom0 file access link#303
Conversation
Hi. This is not correct. You don't need to move the whole label, just the link to the text above. Have you tested this PR locally? If you haven't, I can guide you on how to do that? Are you running QubesOS? What template are you using for coding? |
21c192c to
5180b89
Compare
|
Hi @ben-grande I have updated the fix as you suggested:
Ben I don't currently have a dedicated Qubes machine. I'm working on a standard Linux machine for coding currently. Please Let me know if any further adjustments are required. |
https://doc.qubes-os.org/en/latest/developer/general/developing-gui-applications.html. I never used it. Give it a try. |
|
Hi @ben-grande I have tested locally using the mock Qubes object as per the developer docs The fix works correctly:
Screenshot showing the working link: Please let me know if further adjustments are required. |
|
Great, now you can see the window. I don't think the link fits well where it is, move it to the first paragraph, at the end, change the text to something like: Copying to and from dom0 is handled differently., with the dot outside of the link. |
5180b89 to
dbb4d8b
Compare
|
Ok, now wait a bit. Marta will review when she has time. |
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2026031319-4.3-debian&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2026020304-devel&flavor=update Failed testsNo failures! Fixed failuresCompared to: https://openqa.qubes-os.org/tests/166096#dependencies Unstable testsDetailsPerformance TestsPerformance degradation:No issues Remaining performance tests:13 tests
|
|
PipelineRetry |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #303 +/- ##
==========================================
- Coverage 92.99% 92.98% -0.01%
==========================================
Files 64 64
Lines 13312 13313 +1
==========================================
Hits 12379 12379
- Misses 933 934 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
The only failing check is codecov/project showing a 0.08% coverage drop. This PR changes only qubes_config/global_config.glade — a GTK XML UI file containing no executable Python code. The 11 additional "uncovered lines" Codecov reports are XML markup being counted incorrectly, not Python logic. |
For PRs like this, |
|
This is almost great, but the link is black (probably some CSS issue - I think this is because the text here has color set, which for some GTK-related reason overwrites the link coloring); I think this needs a fix to CSS, too, in particular I think it requires setting link text color to @link-color, currently it's only done for infoboxes (see qubes-global-config-base.css:246): |
The 'Copying to and from dom0 is handled differently' link was inside a GtkRadioButton which intercepted click events. Move the link to the end of the intro paragraph where it is clickable regardless of radio button state. The link appeared black because the explanation class color overrides GTK's default link color. Add .explanation link rule to qubes-global-config-base.css following the existing .info_box link pattern. Fixes QubesOS/qubes-issues#10743
dbb4d8b to
7dae034
Compare
|
Hi @marmarta Could you please trigger a pipeline retry? |
|
Basing on the discussion on the mailing list: was this done by an LLM? If yes, disclosure is missing. |
Hi @marmarta As disclosed in the mailing list : “My contributions to QubesOS , running the commands, iterations, fixing the actual bugs are all done by myself and I am confident to explain each and every commit I made”. Here is the explanation of each line modified/changed in this PR based on my understanding: In global_config.glade — 3 lines changed: Line 2 (modified): Line 3 (modified): In qubes-global-config-base.css Added these lines : On digging through I found out that the explanation CSS class has a color property set — GTK's style cascade applies parent color to all children including link pseudo-elements, overriding the theme default. This explicit rule tells GTK to use @link-color for any link inside an explanation-classed widget, same pattern as .info_box link at line 246. |
|
PipelineRetryFailed |


The 'Learn about copying to and from dom0' link in the File Access section was not clickable because the parent GtkRadioButton intercepts the click event.
Move the label outside the radio button container so the hyperlink can receive the click event correctly.
Fixes QubesOS/qubes-issues#10743