Reminder popup window

Board for discussions around the Epyrus mail and news client.

Moderator: athenian200

User avatar
The_Old_Mailman
Moongazer
Moongazer
Posts: 12
Joined: 2023-12-01, 10:53

Reminder popup window

Unread post by The_Old_Mailman » 2023-12-09, 08:43

Hello *,

I'm using Epyrus 2.1.1 on Windows 11 and I'd like to know if there is a way on this platform to make the calendar reminder popup window to stay always on top of other windows when it is displayed or, as alternative, I politely do a request for enhancement to @Athenian200 in order to include in Epyrus, if possible, the code used by Thunderbird 115 that uses Windows taskbar notifications for reminders too.

Thanks in advance.

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1537
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Reminder popup window

Unread post by athenian200 » 2023-12-09, 16:01

Well, I'm thinking it should be possible in theory to use Windows taskbar notifications for reminders, but I am not sure if I can just use Thunderbird 115 code for that... the codebase has likely diverged significantly by now. Even if I can't use that code, it seems like it should be possible to do one way or another.

I do have a Windows 11 laptop now, though, so I do have a test environment setup for this at least.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
The_Old_Mailman
Moongazer
Moongazer
Posts: 12
Joined: 2023-12-01, 10:53

Re: Reminder popup window

Unread post by The_Old_Mailman » 2023-12-09, 16:06

athenian200 wrote:
2023-12-09, 16:01
Well, I'm thinking it should be possible in theory to use Windows taskbar notifications for reminders, but I am not sure if I can just use Thunderbird 115 code for that... the codebase has likely diverged significantly by now. Even if I can't use that code, it seems like it should be possible to do one way or another.

I do have a Windows 11 laptop now, though, so I do have a test environment setup for this at least.
Thanks, athenian200.

It would be great to have notifications!

User avatar
Kris_88
Keeps coming back
Keeps coming back
Posts: 940
Joined: 2021-01-26, 11:18

Re: Reminder popup window

Unread post by Kris_88 » 2023-12-09, 17:03

This can probably be done as an add-on using js-ctypes.

User avatar
Bilbo47
Fanatic
Fanatic
Posts: 240
Joined: 2017-11-18, 04:24

Re: Reminder popup window

Unread post by Bilbo47 » 2023-12-09, 23:21

Kris_88 wrote:
2023-12-09, 17:03
This can probably be done as an add-on using js-ctypes.
Wow js-ctypes and ctypes, where mozilla-flavored apps are supposed to be able to call routines inside DLLs, platform-independently (Windows, Linux, and Mac).

Does this actually work for non-compiled aka Add-on code to successfully call arbitrary code, in either system DLLs or non-system DLLs? If so, can it be done from JavaScript inside XUL-based add-ons? That would be great!

References with examples: https://wiki.mozilla.org/JSctypes and http://devdoc.net/web/developer.mozilla ... pes.1.html

User avatar
Kris_88
Keeps coming back
Keeps coming back
Posts: 940
Joined: 2021-01-26, 11:18

Re: Reminder popup window

Unread post by Kris_88 » 2023-12-10, 00:58

Bilbo47 wrote:
2023-12-09, 23:21
Does this actually work for non-compiled aka Add-on code to successfully call arbitrary code, in either system DLLs or non-system DLLs?
Of course it works.
I used ctypes to manipulate taskbar icons in this add-on: https://addons.palemoon.org/addon/favicons-in-taskbar/

User avatar
The_Old_Mailman
Moongazer
Moongazer
Posts: 12
Joined: 2023-12-01, 10:53

Re: Reminder popup window

Unread post by The_Old_Mailman » 2023-12-11, 08:40

I don't know what solution would be the best.

Sicerely, just give me the feature and I'd be a happy man. :D

BTW, the reminder pop up window stays on top of old win32 applications in Win 11, but newer ones don't respect "always on top" parameter.