GithubHelp home page GithubHelp logo

futura-py / fluxcalc Goto Github PK

View Code? Open in Web Editor NEW
71.0 4.0 9.0 898 KB

FluxCalc, a calculator with a tiny bit of Fluent design

License: MIT License

Python 97.47% Batchfile 2.53%
python sun-valley calculator tkinter

fluxcalc's People

Contributors

huyhung1408 avatar not-nef avatar rivanparmar avatar sumeshir26 avatar timothymalahy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fluxcalc's Issues

Buttons need to click multiple times before they can be insert into the content

More info: Only happens in light mode because the 'pressed' state in light mode is a bit transparent, but the windows was also transparent for the mica effects so it needs to click multiple times before they can be insert into the content. This does not happen in dark mode, because the 'pressed' state in dark mode is not transparent. This was not happens before switching to the sv_ttk because I modified the 'pressed' state. Not sure if you guys facing the same issue, if yes, I will ask rdbende to modify the button to not transparent

2022-04-22-214358.mp4

Zero division easter egg

This is just a little idea i had: We could add a small easter egg: the application will not say error after a few times of trying, but things like: "Stop dividing by zero!", "Seriously, stop", "STOP IT!!!!!!". And things like that. I thought this will be a cool little secret.

Move calculations to a different .py file

What do you think about that @HuyHung1408 ? I would like to move the calculation part of the program to a different .py file, as it is about to get larger. Only an idea tho, i just want to make the code look good. No problem if you dont want it.

Remove icon?

I think the app would look very cool if we would remove the icon from the titlebar. Only an idea tho.

Better way of using Mica with tkinter

Hey, I found a way of using mica with tkinter without a third party app

You need to use these two pieces of code

https://gist.github.com/Olikonsti/879edbf69b801d8519bf25e804cec0aa
the first one enables the windows immersive dark mode with a dark title bar

https://gist.github.com/Olikonsti/8cbcba376c92831a27bc92ce0bb4dbc7
this code blurs the window

you first run dark_title_bar(window) on your window
and then enable_blur(window)

this needs to happen after changing window.resizable()

I am currently building a library with the sun valley ttk theme, the tkinter blur and extra widgets like scrollframes and entry boxes with ghost text: https://github.com/Olikonsti/MTK

No option to backspace

There is no option to backspace. You can't remove single digits in the entry widget. There is option to only clear the widget and you have to type everything back again.

Possible solution:

  • Add another button for backspace.
    OR
  • Make it such that on clicking the "C" button once, removes a single digit from the entry widget and on long press, clears the entire widget.

Cannot import sv_ttk

This isn't exactly an issue but, on opening the source code files in VSCode, it shows error on 'import sv_ttk'. The error is ModuleNotFoundError: No module named 'sv_ttk'. I have also downloaded this repository: https://github.com/rdbende/Sun-Valley-ttk-theme, however it isn't working. Moreover I could not find any other library named sv_ttk. I have the BlurWindow module and there's no error in importing it. So, could you please describe the steps to setup sv-ttk in VSCode project?

Make titlebar dark

In the latest release notes you said that you look for a way to make the Titlebar change color. I dont know a direct solution, but when using the BlurWindow Module (python -m pip install BlurWindow) with Dark = True, the titlebar changes its color to dark. And the window also gets blurred, which looks great on modern apps! I would make a pull request, but i cant get to my PC at the moment.

EDIT: i dont know if this solution also works for the menu bar. You need to check.

App's UI is not working perfectly

I downloaded the v5 (Beta) version and ran it on my Windows 10 laptop and here's how it looks:

Fluent Calculator 2_19_2022 7_44_59 PM
Fluent Calculator 2_19_2022 7_45_10 PM
Fluent Calculator 2_19_2022 7_45_16 PM

The first photo's background is white only, however on taking screenshot, it shows black. The second photo is of dark mode. The third photo is after disabling dark mode, in which also the background is white but in screenshot it is black.
I am running Windows 10 Version 21H1.

Application window goes out of focus when clicking between buttons

Hi Everyone!

I was using application and found one small bug, I thought like it's better to let you guys know! Hope you take it positively ๐Ÿ˜Š

User is currenlty active on chrome window and then changes to application,
When user clicks in the space between buttons, windows focus automatically changes to chrome, and application goes to background.

Regards,
ynvp

image
image

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.