Closed Bug 1855488 Opened 1 year ago Closed 1 year ago

Unable to empty junk folder - sometimes no Empty Junk action in the context menu of TB 115 (SuperNova)

Categories

(Thunderbird :: Mail Window Front End, defect)

Thunderbird 115
defect

Tracking

(thunderbird_esr115 affected)

RESOLVED INVALID
Tracking Status
thunderbird_esr115 --- affected

People

(Reporter: egil, Unassigned)

Details

(Keywords: regression, Whiteboard: [add-on: QuickFolders])

Attachments

(2 files)

Attached image tb_snova_junk.png

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0

Steps to reproduce:

  1. Open TB.
  2. Go to Junk folder (pl: Niechciane)
  3. Right click on the folder.

Actual results:

No empty junk action.

Expected results:

Before update both Trash and Junk had the action. Latest update brings back the action for trash, but not for junk/spam.

I see an Empty Junk context menu on my junk folder.

Component: Untriaged → Mail Window Front End
Keywords: regression

Hm... Weird. I sometimes see it; sometimes I don't. I think it might be the case that the action is hidden when the folder is empty. And in some cases, the folder is not really empty (the state is cached, I assume, same as folder size). Sometimes I need to do a cleanup (PL: Porządkuj) to clear this cache.

Summary: Unable to empty junk folder - no action in the context menu of TB 115 (SuperNova) → Unable to empty junk folder - sometimes no Empty Junk action in the context menu of TB 115 (SuperNova)

That menu item is shown only if we detect that the selected folder has the proper Junk flag. https://searchfox.org/comm-central/rev/32b0b92e68ca0c4e9d13559fc98c3a9e60a9172b/mail/base/content/about3Pane.js#403

Which server are you using? Might be possible that your provider is refreshing the flags on that folder and temporarily removing it?

Flags: needinfo?(egil)

This is for Local folders (also happens for separate accounts, but I mainly use Local folders). The problem also occurs for Trash folder (I thought this was fixed, but it wasn't).

Oh, and I do not use IMAP. So spam folders are local even for separate accounts, so there should be no issue of TB recognizing the folder. I have all my emails stored locally and sorted into folders by various TB filters (you know, by mail, title, etc).

The problem seems to occur after I receive new emails that get moved to trash and spam/junk automatically. It happened just now again when I checked today's emails (attached screen from junk and trash context menu). This time cleanup (Porządkuj) doesn't help -- the action is still missing after cleanup. TB restart helped, but when I opened spam (viewed folder) the action was gone again.

Flags: needinfo?(egil)

My extensions:

^                             Name ^       type ^              version ^
| English United States Dictionary | dictionary |                 91.0 |
|   Polish Spellchecker Dictionary | dictionary | 1.0.20160228.1webext |
|                          Allegro |  extension |                  1.0 |
|             Copy Sent to Current |  extension |                 3.21 |
|   Dostawca dla Kalendarza Google |  extension |              115.0.2 |
|                       DuckDuckGo |  extension |                  1.0 |
|                 Encyklopedia PWN |  extension |                  1.0 |
|                      FiltaQuilla |  extension |                4.0b2 |
|                           Google |  extension |                  1.0 |
|                     QuickFolders |  extension |                  6.2 |
|                        Quicktext |  extension |                 5.10 |
|                           Tagger |  extension |                  1.2 |
|                   Wikipedia (pl) |  extension |                  1.0 |
|                    Wolne Lektury |  extension |                  1.0 |

Please try to reproduce without add-ons active (Help | Troubleshoot mode)

The bug comes with QuickFolders open. Not sure why would QuickFolders remove builtin items in builtin context menu though. Should extensions be able to do that? I mean adding itmes sure, but removing, not sure...

Thanks, please report it to the add-on author. We don't track add-on issues in bugzilla.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → INVALID
Whiteboard: [add-on: QuickFolders]

Just for others to find - the issue for the addon is: Unable to "Empty Junk" #406
https://github.com/RealRaven2000/QuickFolders/issues/406

It has been reported to me (author of QuickFolders) but I do not currently add any context menu items with this Add-on. I used to have icon modification for Thunderbird 102 but I have to reimplement that. I think the best way for me to fund out would be to try and reproduce it in a Zoom session to get to the root of the problem.

If it was a CSS thing there would have to be a rule that affects #folderPaneContext-emptyJunk. Since I do replicate some of these commands in my own context menus, there is a chance that it is affected in some way. I have an issue on my github, please add all future comments there:

https://github.com/RealRaven2000/QuickFolders/issues/406

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: