Giter Site home page Giter Site logo

Comments (5)

rfindler avatar rfindler commented on July 18, 2024

Hi-- can you make a screen recording to help me understand what's going on more clearly?

from drracket.

ParkerHGordon avatar ParkerHGordon commented on July 18, 2024

Sure! Here it is:
https://youtu.be/NmMg1rYAlwI

I will add, I tried this in a blank project that only had #lang shplait and the same failing test in it, and in that scenario the window did not maximize. It only maximizes in this big file for some reason

Thanks again for looking at it

from drracket.

sorawee avatar sorawee commented on July 18, 2024

Seems like a Windows-only issue. I can't reproduce it on Mac.

from drracket.

rfindler avatar rfindler commented on July 18, 2024

I tried in a windows 10 vm with racket 8.10 but wasn't able to reproduce this behavior, unfortunately.

I do see that the callback for the button is eventually calling show on the frame and I wonder if, for some reason, that method call is causing the window to be maximized on your machine. Can you run this program and try the same steps you were doing in the video, except instead of clicking on the red icon, click the show button? (That is, take the window and move it over to the side so that it takes up half of the screen, as you'd done?)

#lang racket/gui
(define f (new frame% [label ""][width 600][height 800]))
(define b (new button% [parent f] [callback (λ x (send f show #t))] [label "show"]))
(send f show #t)

from drracket.

rfindler avatar rfindler commented on July 18, 2024

If you are still running into trouble and have time to help us track this one down, please feel free to reopen this one but we're not able to make this bad behavior happen, I'm sorry to say.

from drracket.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.