Giter Site home page Giter Site logo

GUI Plugin Scroll about ileapp HOT 7 CLOSED

JamesHabben avatar JamesHabben commented on July 20, 2024
GUI Plugin Scroll

from ileapp.

Comments (7)

Johann-PLW avatar Johann-PLW commented on July 20, 2024

This is not something only related to the compiled GUI release on Windows platforms.
I have the same behavior on my Mac. It is a known bug of PySimpleGUI.
iLEAPP forces version 4.16.0 to be installed (PySimpleGUI==4.16.0 in requirements.txt file)
I have upgraded to latest version 4.60.5 and now I am able to scroll when my cursor is inside the plugin box.
But some changes occurred in the GUI
PySimpleGUI v4.16.0
image

PySimpleGUI v4.60.5
image

If we use v4.59.0, scroll works as expected and GUI stays the same:
image

from ileapp.

JamesHabben avatar JamesHabben commented on July 20, 2024

Oh, good find @Johann-PLW. I think the latest with the color changes look better as a proper UI.

from ileapp.

Johann-PLW avatar Johann-PLW commented on July 20, 2024

And I was able to increase the size of output log box.
image

from ileapp.

stark4n6 avatar stark4n6 commented on July 20, 2024

The newer version of PySimpleGUI looks slick, does it break anything you've found? I wonder if it's just a simple update

from ileapp.

Johann-PLW avatar Johann-PLW commented on July 20, 2024

Everything works fine except:

  • After selecting input file/folder and output folder, the plugin window loses the focus so we have to click inside the main window once before to be able to select/unselect modules
  • Some adjustments in code to fix this PEP8 warning
image

from ileapp.

Johann-PLW avatar Johann-PLW commented on July 20, 2024

I've just run a few more tests by :

  • adjusting the size of output logs
  • replacing FindElement with windows[key] or window.find_element as suggested in PEP8 warnings.

Just four lines of code updated in ileappGUI.py file and it works perfectly both with PySimpleGUI 4.0.16 (actual one used by iLEAPP) and the new 4.60.5 version.
So I think I can push this little modifications then we can decide whether we want to use the latest version of PySimpleGUI just by updating requirements.txt file or stay with 4.0.16
In the end, no action required by the user.

from ileapp.

abrignoni avatar abrignoni commented on July 20, 2024

from ileapp.

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.