Code Monkey home page Code Monkey logo

Comments (6)

kitao avatar kitao commented on May 5, 2024

Hi, thank you for using Pyxel! I'm really happy if Pyxel is used in ludum.

This is unknown issue.
What Pyxel does is only calling full screen command of glfw.
Specifically, it is in _toggle_fullscreen method of app.py and window pos and size are set to glfw.set_window_monitor method.

I'm using MacBook and I don't any idea what is the difference between them.

First of all, I'll check thish is glfw's known issue or not.

from pyxel.

kitao avatar kitao commented on May 5, 2024

@kirberich By the way, Pyxel's window is resizable. So you can also press maximize button of the window. What happen if it is pressed in your environment?

from pyxel.

kirberich avatar kirberich commented on May 5, 2024

So I've done a bit more fiddling with it and also tried recording a video, but unfortunately quicktime stops recording once the app goes fullscreen, so it's not very useful: https://www.youtube.com/watch?v=aZ9k-uHmsOU&feature=youtu.be

What I found is

  • Resizing the window works fine
  • Maximising the window also works fine
  • Using the fullscreen button always fails.
  • When coming back from fullscreen the window is still blank, but resizing the window fixes it.

Details about my machine and my dependencies:

  • 15-inch macbook pro (late 2016) - it has a dedicated GPU (Radeon Pro 450), this might be where the difference between our laptops lies
  • Python 3.6.5
  • glfw==1.7.0
  • pyxel==0.7.8
  • PyOpenGL==3.1.0

I might have some time over the weekend to see if I can reproduce this problem in glfw directly!

from pyxel.

Jondyr avatar Jondyr commented on May 5, 2024

@kirberich You might want to check your glfw version and not only your wrapper's version.

I tried to reproduce this on my MBP (Mid 2015, no dedicated GPU) and it works as expected.

Python 3.6.5
glfw: stable 3.2.1 (bottled), HEAD (wrapper 1.7.0)
Pyxel 0.7.8
PyOpenGL 3.1.0

from pyxel.

kitao avatar kitao commented on May 5, 2024

I added the glfw version check in Pyxel 0.7.9. At least, if glfw version is lower than expected, it raises a runtime error.

from pyxel.

kitao avatar kitao commented on May 5, 2024

Since there is no information update, close it. If you have any problems please create a new issue!

from pyxel.

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.