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

Grafport not reset before drawing alert dialog #165

Closed
inexorabletash opened this issue Aug 10, 2019 · 1 comment
Closed

Grafport not reset before drawing alert dialog #165

inexorabletash opened this issue Aug 10, 2019 · 1 comment
Labels
Milestone

Comments

@inexorabletash
Copy link
Collaborator

@inexorabletash inexorabletash commented Aug 10, 2019

Repro:
(1) Start DeskTop
(2) Manually (not via DeskTop) eject the startup disk
(3) Select the startup disk icon
(4) File > Open

The dialog is drawn with a grafport with the "open icon" pattern selected:

image

@inexorabletash inexorabletash added this to the 1.2 milestone Aug 11, 2019
@inexorabletash

This comment has been minimized.

Copy link
Collaborator Author

@inexorabletash inexorabletash commented Aug 11, 2019

Kind of a systemic problem - routines like the icon drawing procs use whatever grafport is present and are required to restore it. It would be nice if this was either less fragile (e.g. a push/pop grafport) or more obvious.

Anyway, quick fix applied.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.