BoboTiG / python-mss

An ultra fast cross-platform multiple screenshots module in pure Python using ctypes.
https://pypi.org/project/mss/
MIT License
987 stars 88 forks source link

PySimpleGUI compatibility #259

Open pas opened 1 year ago

pas commented 1 year ago

General information:

Description of the warning/error

MSS influences the size and the usability of GUI created by PySimpleGUI. The GUI gets unusable. Don't know if this is a issue of PySimpleGUI or MSS.

Short script to reproduce the issue. Press the button to see the issue:

from mss import mss
import PySimpleGUI as sg

if __name__ == "__main__":
  window = sg.Window("bug", layout=[[sg.Button("Run mss")]])

  while True:
    event, values = window.read()
    if (event == "Run mss"):
      mss = mss()

Full error message

No error

Upvote & Fund

Fund with Polar

pas commented 1 year ago

Problem resolved: https://github.com/PySimpleGUI/PySimpleGUI/issues/6392