friedPotat0 / Spam-Scores

Thunderbird add-on to display spam scores according to mail headers. Supports spam/ham score headers of Rspamd and SpamAssassin. The add-on adds a column with the overall spam score to the mail list view and shows details of any matched spam/ham rule.
https://addons.thunderbird.net/de/thunderbird/addon/spam-scores/
Other
43 stars 6 forks source link

Empty popup on second opening (macOS Big Sur) #47

Open PitWenkin opened 2 years ago

PitWenkin commented 2 years ago

Describe the bug The popup with the detailed information is empty whenever I open it a second time. Regardless if it is the same message or a different one. Regardless of time passed since first opening it. Only a complete restart of thunderbird fixes the issue (but again only one popup-opening)

Reproduction steps Click on "Spam Score"-Button twice to open the details popup. Second popup is visually empty. (It is however possible to select the content and copy/paste it somewhere else, which indicates that it's only a color problem?)

Expected behavior Details should alway be visible.

Screenshots First poup

Second popup

Thunderbird (please complete the following information):

Spam Score add-on (please complete the following information):

Additional context Works as intended on macOS Mojave (10.14.6) / TB 91.9.0 / SS 1.4.0 Focing dark or light theme does not make a difference

dtill commented 2 years ago

exact same issue here with

FYI: on macOS Monterey (12.4) with same plugin and thunderbird version the issue doesn't appear. so maybe a "Big Sur"-related problem..

jk commented 2 years ago

Same issue here:

friedPotat0 commented 2 years ago

Looks like it has something to do with current versions of macOS as I was not able to reproduce the error on Windows.

Unfortunately, I have no way of debugging it because I don't own a mac. I am always open for pull requests or other hints to solve the problem.

PitWenkin commented 2 years ago

I tried to debug it using the Developer Tools, but my quest ended at https://github.com/friedPotat0/Spam-Scores/blob/18cceec8279c8f1d776c0748b873e8cb28e0daa6/src/background/background.js#L124

I don't understand how the Thunderbird add-on debugger works, and how to access the repaint function. Also when using breakpoints the popup does not appear at all …

@friedPotat0 if you could point me in the right direction ?

jk commented 2 years ago

FYI: Interesstingly today the extension resumed working normally, so repeated clicks show the popud just fine. I've no clue what's triggering the behaviour.

PitWenkin commented 2 years ago

FYI: Interesstingly today the extension resumed working normally, so repeated clicks show the popud just fine. I've no clue what's triggering the behaviour.

I was offered TB 91.12.0 today, but the problem was still there after updating (and restarting)

@jk are you really on 102.1.0 or 102.0.1 (latest seems to be 102.0.3 according to https://www.thunderbird.net/en-US/thunderbird/releases/ ) ? If the 102 branch fixes the bug I might test it

PitWenkin commented 2 years ago

I just saw that the problem now also occurs on my other device

Works as intended on macOS Mojave (10.14.6) / TB 91.9.0 / SS 1.4.0

This is now macOS Mojave (10.14.6) / TB 91.12.0 / SS 1.4.1 and no longer works :(

PitWenkin commented 2 years ago

I got TB 91.13.0 today which did not fix the problem. Shortly after I got TB 102.2.0 which still does not fix the problem 🙁

In short, problem exist on: macOS Mojave (10.14.6) / TB 102.2.0 / SS 1.4.1

PitWenkin commented 2 years ago

Today it works again …

macOS Mojave (10.14.6) / TB 102.2.0 / SS 1.4.1

Same as for @jk

FYI: Interesstingly today the extension resumed working normally, so repeated clicks show the popud just fine. I've no clue what's triggering the behaviour.

I also got the TB 102.2.0 update on the Big sur macOS of the initial report This is now macOS Big Sur (11.6.8) / TB 102.2.0 / SS 1.4.1 and after several restarts still has the problem…

It seems that it is now back to being a macOS Big Sur only problem

PitWenkin commented 2 years ago

Unfortunately, I have no way of debugging it because I don't own a mac.

@friedPotat0 I might be able to provide you with remote access to a mac (older model, non-admin account) if that would help

PitWenkin commented 2 months ago

Still happening on macOS Sonoma (14.5) / TB 115.12.2 / SS 1.4.2