GithubHelp home page GithubHelp logo

Comments (20)

RealRaven2000 avatar RealRaven2000 commented on August 29, 2024

Ok, good catch! I am overwriting the global functions MsgMoveMessage() and MsgCopyMessage() in order to wrap them with additional functionality. For URI detection, I used an deprecated interface Ci.nsIRDFService which isn't available anymore - you would have seen an error in the error console stating this.

Please try this quick fix version:
quickFilters-wx-5.0pre69.zip

Note - since the previous version did not tidy up the aforementioned functions correctly you must restart after installing it for the first time!

from quickfilters.

farmatito avatar farmatito commented on August 29, 2024

Hi,
tested quickFilters-wx-5.0pre69.zip. Seems to work in Linux Debian/Devuan but is still broken on Windows10.

Ciao,
farmatito

from quickfilters.

RealRaven2000 avatar RealRaven2000 commented on August 29, 2024

Hi,
tested quickFilters-wx-5.0pre69.zip. Seems to work in Linux Debian/Devuan but is still broken on Windows10.

Ciao,
farmatito

Make sure you restart. I tested in Windows 7, no issue there.

from quickfilters.

farmatito avatar farmatito commented on August 29, 2024

Restart Windows or Thunderbird? I did restart Thunderbird.
After more testing on Win10 2004 64bit It does work sometimes (rarely)
but most of the times not. I could not detect any kind of pattern
as it seems rather erratic behaviour. There must still be something wrong.
Sometimes "copy/move again" works, you try again with another entry in the list and it doesn't.
Sometimes "copy/move" works, you retry and nothing.
Ciao,
farmatito

from quickfilters.

RealRaven2000 avatar RealRaven2000 commented on August 29, 2024

Restart Windows or Thunderbird? I did restart Thunderbird.
After more testing on Win10 2004 64bit It does work sometimes (rarely)
but most of the times not. I could not detect any kind of pattern
as it seems rather erratic behaviour. There must still be something wrong.

please check the JavaScript error console (Ctr+Shift+J) for those cases,. you can copy the error log with the right-click menu. Always reset before each test so we can have a full log.

from quickfilters.

farmatito avatar farmatito commented on August 29, 2024

NAS 2020-10-31 15 02 System Events.zip
NAS 2020-10-31 16 02 System Events.zip

There is nothing in the logs. It happens erratically. The only thing I see is that when it starts to refuse to copy or move
a email message is that when you click on it in the list it is not showed in the box below the list. At this point tinkering
with the app (changing email account, changing folder, double clicking a message to open it in a separate tab) somehow
resets the program state and it start working again. The log still is empty.
Attached you will find some messages that more often than others trigger the bug. Hope this helps.

from quickfilters.

farmatito avatar farmatito commented on August 29, 2024

Some steps to reproduce:
open thunderbird
create an empty folder in one account
drag and drop some messages into it
change to the folder
directly right click with the mouse one of the messages and choose move or copy
nothing is shown in the message box below the list
from this point "copy/move" and "move again" stop to work with all messages in the directory
now exit the folder and change to some other folder of an account
go back to test folder select a message with a left mouse click
message is shown in the message box below the list
mow "copy/move" "move again" works

Ciao,
Tito

P.S.: the same steps are also reproducible in linux

from quickfilters.

RealRaven2000 avatar RealRaven2000 commented on August 29, 2024

NAS 2020-10-31 15 02 System Events.zip
NAS 2020-10-31 16 02 System Events.zip

These do not look like Thunderbird logs. You need to open the Thunderbird menu - Tools / Developer Tools / Error Console.

For additional messages during message moving / copying with quickFilters enabled, you can do 2 additional things

  1. enable quickFilters debug mode from the bottom right of the Advanced tab:
    image
  2. you can enable additional detail during debug mode by right-clicking the debug checkbox, then setting

extensions.quickfilters.debug.msgMove = true
image

This will give additional detail. By the way instead of pasting the log into an email and then archiving that, why not use a plain text file?

Typical expected output (I know it's a lot):

quickFilters {MSGMOVE} 15:25:47.580  [19708 ms]   
 quickFilters.executeMoveMessage == quickFilters.MsgMove_Wrapper :false
quickFilters {MSGMOVE} 15:25:47.580  [0 ms]   
Executing wrapped MsgMoveMessage
quickFilters {MSGMOVE} 15:25:47.580  [0 ms]   
 setTimeout(..) for final move / copy call
quickFilters {MSGMOVE} 15:25:47.601  [21 ms]   
Executing original MoveMessage [[
quickFilters {MSGMOVE} 15:25:47.602  [1 ms]   
After original Move/CopyMessage.]]
quickFilters {MSGMOVE} 15:25:47.605  [3 ms]   
OnItemAdded() [xpconnect wrapped nsIMsgDBHdr]
quickFilters {MSGMOVE} 15:25:47.612  [7 ms]   
DeleteOrMoveMsgCompleted(Inbox)
Assistant is off
quickFilters {MSGMOVE} 15:25:47.612  [0 ms]   
Source folder (Inbox) is local inbox = false
quickFilters {MSGMOVE} 15:25:47.612  [0 ms]   
List of LocalMoved = 0 items.
... possibly there will be more DeleteOrMoveMsgCompleted events below...

from quickfilters.

farmatito avatar farmatito commented on August 29, 2024

These do not look like Thunderbird logs. You need to open the Thunderbird menu - Tools / Developer Tools / Error Console.

They were just some email messages that at first I thought were triggering the issue, but they are not.
You could reproduce the issue with the steps defined above.
If you could try them with quickfilters debug on it could eventually show that this is rather a thunderbird 78.4.* bug
or change in behaviour (that I never noticed before).
In the JavaScript error console there was nothing at all.

Ciao,
Tito

from quickfilters.

StuporDaveOsborne avatar StuporDaveOsborne commented on August 29, 2024

Some steps to reproduce:
open thunderbird
create an empty folder in one account
drag and drop some messages into it
change to the folder
directly right click with the mouse one of the messages and choose move or copy
nothing is shown in the message box below the list
from this point "copy/move" and "move again" stop to work with all messages in the directory
now exit the folder and change to some other folder of an account
go back to test folder select a message with a left mouse click
message is shown in the message box below the list
mow "copy/move" "move again" works

Ciao,
Tito

P.S.: the same steps are also reproducible in linux

I was unable to reproduce this on 5Pre69, Win7x64, TB 78.4.0 x32bit. I have numerous accounts and was able to direct mails to folders under both "copy to" and "move to."
Please note I did not use QF to create any filters during this test, I only tested the ability to copy/move messages while QF enabled.

from quickfilters.

farmatito avatar farmatito commented on August 29, 2024

Hi,
I'm still able to reproduce this consistently in debian. If I disable quickfilters everything work as expected, if I enable it
the strange behaviour is there. I have some quickfilters setup. The steps to reproduce are mostly the same as above:

With quickfilters enabled:

  1. open a folder containing some mails from the folder list
  2. without selecting any mail with the mouse pointer, just go to a message for exampe the last
  3. right click it to open the context menu
  4. select "Move" or "Move again" and click the menu
  5. nothing happens, message still there

With quickfilters disabled:

  1. open a folder containing some mails from the folder list
  2. without selecting any mail with the mouse pointer, just go to a message for exampe the last
  3. right click it to open the context menu
  4. select "Move" or "Move again" and click the menu
  5. message gone

I cannot retest it know on windows but I am pretty sure that it works the same there.

Ciao,
Tito

from quickfilters.

RealRaven2000 avatar RealRaven2000 commented on August 29, 2024

It still works for me (with prerelease 69) so I need a bit more. can you enable debug mode in quickFilters and also enable the switch msgMove:

  • right-click the main quickFilters icon to get the options dialog

  • activate the third tab (Advanced)

  • activate the debug Mode checkbox
    image

  • right-click the "Debug Mode" checkbox and activate extensions.quickfilters.debug.msgMove=true
    image

This should give us more output in the JavaScript console when you click on the "Move mail" button.

The JavaScript console is in tools / developer tools / error console

from quickfilters.

farmatito avatar farmatito commented on August 29, 2024

console-export-2020-11-5_20-52-11.txt

Here is the log of multiple tries to move files.

from quickfilters.

jensmuehle avatar jensmuehle commented on August 29, 2024

I have the same problem. My usual "Right click on message" -> "Move To" -> "Recent" or "Favorites" or going through the folder structure of one my e-mail account and then selecting a target filter doesn't do anything anymore.

I get error messages like this in the Error console:

NS_ERROR_NOT_AVAILABLE: 2 ActivityManager.jsm:127
getActivity resource://gre/modules/ActivityManager.jsm:127
removeActivity resource://gre/modules/ActivityManager.jsm:80
onFolderRemovedFromQ resource:///modules/activity/autosync.jsm:244
_timerCallback resource:///modules/AppIdleManager.jsm:30

quickFilters {MSGMOVE} 13:20:9.45 [37411 ms]
quickFilters.executeMoveMessage == quickFilters.MsgMove_Wrapper :false

MsgMove_Wrapper()
Components.classes['@mozilla.org/rdf/rdf-service;1'] is undefined quickFilters.js:1149

NS_ERROR_NOT_AVAILABLE: 3 ActivityManager.jsm:127
getActivity resource://gre/modules/ActivityManager.jsm:127
removeActivity resource://gre/modules/ActivityManager.jsm:80
onFolderRemovedFromQ resource:///modules/activity/autosync.jsm:244
_timerCallback resource:///modules/AppIdleManager.jsm:30

from quickfilters.

RealRaven2000 avatar RealRaven2000 commented on August 29, 2024

I have the same problem. My usual "Right click on message" -> "Move To" -> "Recent" or "Favorites" or going through the folder structure of one my e-mail account and then selecting a target filter doesn't do anything anymore.

I get error messages like this in the Error console:

Have you tried quickFilters-wx-5.0pre69.zip above? I had removed dependency on the rdf-service in that version.

Or better the latest version, here:
https://github.com/RealRaven2000/quickFilters/releases/tag/5.0pre71

from quickfilters.

jensmuehle avatar jensmuehle commented on August 29, 2024

from quickfilters.

jensmuehle avatar jensmuehle commented on August 29, 2024

from quickfilters.

RealRaven2000 avatar RealRaven2000 commented on August 29, 2024

There is a minor issue. When making a filter your addon suggest a name based on the target filter. It used to use something like >> in this suggested name, now I see this funny black diamond with a question mark. Not a big issue. Note, that I usually add the filter criteria to the name as the basic extension only allows to search in there. Best Regards, Jens

probably an encoding issue in the default prefs, you can set the delimiter character manually here:

  • right-click the filter assistant to show preferen ces
  • open New Filter Properties
  • Under Naming rules, enter your favorite delimiter:

image

from quickfilters.

jensmuehle avatar jensmuehle commented on August 29, 2024

from quickfilters.

RealRaven2000 avatar RealRaven2000 commented on August 29, 2024

I just released 5.0 officially which should close this issue

from quickfilters.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.