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

[Feature]: Access from System Tray #75

Open
DerekZiemba opened this issue Aug 14, 2023 · 3 comments
Open

[Feature]: Access from System Tray #75

DerekZiemba opened this issue Aug 14, 2023 · 3 comments

Comments

@DerekZiemba
Copy link

DerekZiemba commented Aug 14, 2023

Describe the problem this feature would solve

There is a competing app, called OTPKEY Authenticator

https://apps.microsoft.com/store/detail/otpkey-authenticator/XP9MCL9T4JFZ0B

  • You can pull it up from the system tray which is something I'd find very nice.
  • OTPKEY Authenticator is the first item listed in the "People also view" section on the Microsoft Store page.

I don't trust OTPKEY Authenticator

Describe the solution

  • Make 2fast available from the systray similar to the OTPKEY Authenticator screenshot below. image
  • Would be super convenient.
  • Would prevent users from using a seemingly sketchy alternative that does have the feature.

Describe alternatives you've considered

I haven't really. 2fast was one of the few with a trustworthy looking dev https://www.linkedin.com/in/jan-philipp-weber-07a871205/, an actual open-source repo, & looked to be more than just a toy project.

@jp-weber
Copy link
Member

Thank you for your suggestion and the confidence in my application.

When I started the project, I also considered implementing this function in the application. however, there is a big hitch. My application relies on the universal windows platform (UWP) and cannot natively address the system tray icon. This requires an extra win32 application that interacts with the UWP application via an interface or bridge.
See for example https://stefanwick.com/2017/06/24/uwp-app-with-systray-extension/

Since I do not want to integrate this balast into the application package for the function, I unfortunately have to reject the proposal for the implementation.

@DerekZiemba
Copy link
Author

Dang. I had no idea. I'm very much still in the winforms & WPF era with anything modern being Electron.
I think thay may actually explain some jank I've seen in some modern apps with a system tray. Blows my mind something so basic is missing from a framework that was supposed to be a replacement/successor.
Is it also missing from WinUI3?

Do you have any opinions on Avalonia?
I've always been curious about avalonia. Maybe one day I'll get bored & your app could be a good candidate to see if porting will be as straightforward as I've been lead to believe. While at it I'd throw in a basic open to/close to system tray to test the waters. Though before I began something like that, I'd need to know:

  • Your reasoning for going UWP to begin with.
  • If you've already considered something similar & dismissed it for reasons.
  • If you'd be open to such a radical change & have a chance to actually get merged.

@jp-weber
Copy link
Member

Avalonia is interesting, but not an option for my project, as I am already using the Uno platform for the mobile applications and will be releasing them soon. WinUI3 is supported by Uno and will in the long run inherit from my UWP app, when the performance has improved (AOT compilation), the UI feels more fluid, functions have been added and the error list has been reduced. In any case, I will continue to rely on UWP for a few more years and watch how WinUI3 develops.

The options for UWP for me at the beginning of the project were security, performance and fluid UI. Years ago, Microsoft said that the UWP would be the next platform and that everything would be focused on it. After the end of Windows Phone, however, there were practically no more new features and the UWP was then discontinued in 2021?

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

No branches or pull requests

2 participants