racket / racket/drracket

Waking Linux from Sleep pops up error dialgoue box

Open
#824 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
516
Forks
103
PR merge metrics
No merged PRs in 30d

Description

preferences:set: new value doesn't satisfy preferences:set-default predicate
  pref symbol: 'framework:standard-style-list:font-size
  given: '#(#hash((() . 12) (((1920 1080)) . 12) (((1920 1080) (3840 2160)) . 12) (((3840 2160) (1920 1080)) . 12)) 12)
  predicate: (vector/c (hash/c (non-empty-listof (list/c natural? natural?)) (integer-in 0 255) #:flat? #t) (integer-in 0 255) #:flat? #t)
  context...:
   .../private/arrow-val-first.rkt:518:18
   /usr/share/racket/pkgs/gui-lib/framework/private/frame.rkt:479:17
   /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:436:6
   /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:487:32
   /usr/share/racket/pkgs/gui-lib/mred/private/wx/common/queue.rkt:639:3
Image

Steps to Reproduce:

    1. Open Dr Racket
    1. systemctl suspend
    1. Log back in and I see the Dialogue box

Version:

  • Racket: version 9.3
  • Distro: Arch Linux
  • Desktop Env: Sway Wayland
  • Likely running DrRacket on xwayland?

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Reproduce the suspend and resume sequence in DrRacket on Arch Linux with Sway, then start from the framework:standard-style-list:font-size preference and the referenced gui-lib/framework/private/frame.rkt stack frame. Done means identifying why the preference becomes invalid after wake and preventing the error dialogue from appearing, with a regression check for suspend and resume.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.