Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Blur Window #46

Merged
merged 11 commits into from
Jan 20, 2022
Merged

feat: Blur Window #46

merged 11 commits into from
Jan 20, 2022

Conversation

not-nef
Copy link
Member

@not-nef not-nef commented Jan 12, 2022

Im Back.
Screenshot 2022-01-12 162843

@netlify
Copy link

netlify bot commented Jan 12, 2022

✔️ Deploy Preview for timerx-app canceled.

🔨 Explore the source changes: 35aa821

🔍 Inspect the deploy log: https://app.netlify.com/sites/timerx-app/deploys/61e192890f6250000848ab6e

@not-nef not-nef added the ready Ready for merge. label Jan 12, 2022
@im-coder-lg
Copy link
Member

Any toggle for that though?

@im-coder-lg
Copy link
Member

Wait I'll try activating checks for macOS and Linux.

@im-coder-lg
Copy link
Member

Can you try opening a Gitpod env and test it? Also try testing the same on your Mac Mini. But don't use your dad's Mac Mini.
I expect you have Git and Python 3.8+ on your Mac mini, so try these steps:

git clone https://github.com/sumeshir26/TimerX.git
cd TimerX
git checkout Blur
git fetch && git pull
pip install -r requirements.txt
python main.py

Check the TimerX console on Gitpod for the error. I will test on my RasPi soon, kinda busy.

@sumeshir26
Copy link
Member

sumeshir26 commented Jan 13, 2022

@not-nef This is definitely not intended LOL 😂:-
image
FYI, OS in Dark Mode, TimerX in Light

@im-coder-lg
Copy link
Member

lol that's abnormal

@not-nef
Copy link
Member Author

not-nef commented Jan 13, 2022

@not-nef This is definitely not intended LOL 😂:-

image

FYI, OS in Dark Mode, TimerX in Light

Well no it isnt lmao

@not-nef
Copy link
Member Author

not-nef commented Jan 13, 2022

Wait I'll try activating checks for macOS and Linux.

It literally did checks for macos image

@not-nef not-nef removed the ready Ready for merge. label Jan 13, 2022
@not-nef
Copy link
Member Author

not-nef commented Jan 13, 2022

Can you try opening a Gitpod env and test it? Also try testing the same on your Mac Mini. But don't use your dad's Mac Mini.
I expect you have Git and Python 3.8+ on your Mac mini, so try these steps:

git clone https://github.com/sumeshir26/TimerX.git
cd TimerX
git checkout Blur
git fetch && git pull
pip install -r requirements.txt
python main.py

Check the TimerX console on Gitpod for the error. I will test on my RasPi soon, kinda busy.

Uhm, why?

@sumeshir26
Copy link
Member

Uhm, why?

To make sure that blur isnt broken on Mac

@not-nef
Copy link
Member Author

not-nef commented Jan 13, 2022

I was planning to disable it for mac, but ok

@not-nef
Copy link
Member Author

not-nef commented Jan 13, 2022

And the dmg still doesn't work i thought you guys dropped macos support

@im-coder-lg
Copy link
Member

It literally did checks for macos

That was just the DMG build. The real test has to be done on a real/imaginary(VM) computer.

@not-nef
Copy link
Member Author

not-nef commented Jan 13, 2022

But it doesn't run the dmg so i thought you dropped macos support @im-coder-lg

@not-nef
Copy link
Member Author

not-nef commented Jan 14, 2022

@sumeshir26 can you give me instructions on what to do next in this pr?

@sumeshir26
Copy link
Member

@not-nef First, I'll create a PR in the Sun Valley TTk Theme Repo to make the Button and AccentButton background transparent.
Meanwhile, you can figure out how to make acrylic work properly on both light and dark theme.

@not-nef
Copy link
Member Author

not-nef commented Jan 17, 2022

img

@sumeshir26 Is there a way to make the corners of the buttons transparent? I think it has to do something with the custom theme because the ttk.Button has no bg parameter

@not-nef
Copy link
Member Author

not-nef commented Jan 17, 2022

And btw the labels are fixed i just took the old screenshot

@not-nef
Copy link
Member Author

not-nef commented Jan 17, 2022

@im-coder-lg Can you manually run the checks on this one pls? It still annoys me

@im-coder-lg
Copy link
Member

Just update your branch and make another change, the checks autoupdate.

@netlify

This comment has been minimized.

@not-nef
Copy link
Member Author

not-nef commented Jan 19, 2022

Can you check if the file has exactly 702 lines?

@not-nef
Copy link
Member Author

not-nef commented Jan 19, 2022

Almost the same for me lol.

Did the theme atleast load?

@im-coder-lg
Copy link
Member

Did the theme atleast load?

Nope.

@im-coder-lg
Copy link
Member

Can you check if the file has exactly 702 lines?

Yeah it does.

@sumeshir26
Copy link
Member

@im-coder-lg Run gh pr checkout 46

@im-coder-lg
Copy link
Member

That is what I ran, git pulled with --force and ran the main python file. Wait, it could be missing modules, right?

@sumeshir26
Copy link
Member

No, run it again. GH CLI creates a local branch if the PR is from another fork, so git pull wont do anything. Also, try to install the requirements again.

@im-coder-lg
Copy link
Member

Nothing changed. Is there a module error?

@im-coder-lg
Copy link
Member

Before you ask, the branch is fully updated and I haven't added any new changes.

@im-coder-lg
Copy link
Member

It's all with the theming! I changed the theme and the old UI is back! So, you might've done something(accidentally) to theming!

@sumeshir26
Copy link
Member

For me, it works absolutely beautifully. It is nice and acrilic. can you try to replace all instances of GlobalBlur with Win7Blur?

@im-coder-lg
Copy link
Member

Also, look here:
https://github.com/TimerX-App/TimerX/blob/6fb4d1dfb613cc3990e65882de4abf15c908d01e/main.py#L133-L144
The title's being used twice, so it's failing. Can we fix this in this PR?

@sumeshir26
Copy link
Member

Ok

@sumeshir26
Copy link
Member

Fixed

@im-coder-lg
Copy link
Member

image
Umm... Is that normal?

@im-coder-lg
Copy link
Member

GlobalBlur seems to work. However, Win7Blur seems a bad way(check the error above). The Toast Notifier was causing the error, the theming works now. But the toast fails.

@im-coder-lg
Copy link
Member

Or it was just CMD.

@im-coder-lg
Copy link
Member

Nothing seems to work yet again.

@im-coder-lg
Copy link
Member

It seems to have fixed itself. It's puzzling to myself.

@sumeshir26
Copy link
Member

Ok, So approve this PR

@im-coder-lg
Copy link
Member

One minute, apologies. I want to test this again, final test run.

Copy link
Member

@im-coder-lg im-coder-lg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, everything's good. The toast notif fails but we'll fix that later.

@sumeshir26 sumeshir26 merged commit 0138c58 into Futura-Py:master Jan 20, 2022
@not-nef not-nef deleted the Blur branch January 20, 2022 05:25
@not-nef
Copy link
Member Author

not-nef commented Jan 20, 2022

Lets go

@sumeshir26 sumeshir26 mentioned this pull request Jan 25, 2022
@im-coder-lg
Copy link
Member

@not-nef can you restore this branch?

@im-coder-lg
Copy link
Member

I'm thinking of reverting this merge, making another PR from this branch and fixing this,

@not-nef
Copy link
Member Author

not-nef commented Jan 25, 2022

No, he fixed it in #65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants