Comments (3)
Hey,
I'm using 0.0.2 and installed it via the .dmg file :)
from swiftguard.
Hey,
Can you please tell me which version of swiftGuard you are using (v0.0.1 or 0.0.2)?
And did you install swiftGuard with its .app or .dmg file or are you running it as Python script (poetry or git clone)?
Seems like its a common issue for older Python versions. Also it can only detect if your dark mode is enabled or disabled. The different brightness states of the macOS menu bar are not detectable by Qt.
Maybe you could try to turn on/off the dark mode in macOS manually and check if the icon color changes accordingly
from swiftguard.
Small update:
After investigating deep into the macOS/Qt framework, I could identify that a missing flag on the tray icon was the root of the bug. So it will be fixed for the next release, coming soon.
Thanks again for submitting the issue and helping me improving swiftGuard! π
For other devs:
# Create and configure the system tray icon.
tray_icon = QSystemTrayIcon()
tray_icon.setToolTip("swiftGuard")
# Set the app icon.
app_icon = QIcon(self.resources["app-icon"])
app_icon.setIsMask(True) # Dark mode fix for macOS. <------
tray_icon.setIcon(app_icon)
For more details check app.py in src.
from swiftguard.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftguard.