Skip to content

bug: F11 raises AttributeError instead of toggling fullscreen #120

Description

@dmccoystephenson

README.md documents f11 as "toggle fullscreen mode."

SimulationScreen.__handleKeyDownEvent (src/screen/simulationScreen.py) flips Config.fullscreen and then calls:

self.initializeGameDisplay()

SimulationScreen has no initializeGameDisplay method. The only implementation is Apex.__initializeGameDisplay (src/apex.py), which is name-mangled and private to Apex and is not reachable from the screen. The call raises AttributeError, so pressing F11 during a simulation crashes rather than toggling fullscreen.

Note this is adjacent to but distinct from #45, which describes the window not being resizable after a successful toggle — this issue is that the toggle never completes at all.

Found while verifying the architecture of this repository for an RFC in Preponderous-Software/rfcs; verified against dc1fa06.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions