Skip to content

Read-only Driver field in the Describe Printer window visually grayed - #472

Merged
alexpevzner merged 1 commit into
masterfrom
fix-readonly-driver-css
Sep 24, 2026
Merged

alexpevzner merged 1 commit into
masterfrom
fix-readonly-driver-css

Conversation

@SinghCod3r

Copy link
Copy Markdown
Collaborator

Summary

Register the CSS provider used for the read-only Driver field once during NewPrinterGUI initialization and reuse it instead of registering a new provider each time the Describe Printer page is displayed.

Changes

  • Register the entry.readonly CSS provider once.
  • Reuse the existing readonly CSS class for entNPDriver.
  • Preserve the existing Driver field appearance and behavior.

Testing

  • python3 -m pytest test_newprinter.py test_dnssdresolve.py test_PhysicalDevice.py
  • python3 -m py_compile newprinter.py
  • git diff --check

@SinghCod3r

Copy link
Copy Markdown
Collaborator Author

@alexpevzner

@alexpevzner alexpevzner changed the title Reuse readonly driver CSS provider Read-only Driver field in the Describe Printer window visually grayed Sep 24, 2026
@alexpevzner
alexpevzner merged commit e46dac0 into master Sep 24, 2026
5 checks passed
@alexpevzner
alexpevzner deleted the fix-readonly-driver-css branch October 7, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants