[GH-ISSUE #253] 🕷 [Inline View] Moving unchecked EMails does not work #214

Closed
opened 2026-02-25 21:34:28 +03:00 by kerem · 9 comments
Owner

Originally created by @ulfgebhardt on GitHub (Jan 21, 2018).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/253

Originally assigned to: @jasonmunro on GitHub.

If you have not checked the box infront of the EMail the Move Operation does nothing:

Not working:

movenotworking

Working fine:

moveworking

Other Info

This Issue is probably an Inline View specific Issue

Rev: 34d70a0240

Grüße Ulf

<3

Originally created by @ulfgebhardt on GitHub (Jan 21, 2018). Original GitHub issue: https://github.com/cypht-org/cypht/issues/253 Originally assigned to: @jasonmunro on GitHub. If you have not checked the box infront of the EMail the Move Operation does nothing: ### Not working: ![movenotworking](https://user-images.githubusercontent.com/1238238/35194254-dbbe7cbe-feb0-11e7-9c2a-859ae2cf408f.png) ### Working fine: ![moveworking](https://user-images.githubusercontent.com/1238238/35194256-de8e73d6-feb0-11e7-958f-12af8edac5e2.png) ### Other Info This Issue is probably an Inline View specific Issue Rev: 34d70a0240c10b6b8ab9fedf7c96cf8a0ef0ed53 Grüße Ulf <3
Author
Owner

@jasonmunro commented on GitHub (Feb 7, 2018):

Totally not surprised by this. Inline message viewing is just a big pain in the butt!

<!-- gh-comment-id:363928009 --> @jasonmunro commented on GitHub (Feb 7, 2018): Totally not surprised by this. Inline message viewing is just a big pain in the butt!
Author
Owner

@jasonmunro commented on GitHub (Apr 16, 2018):

@ulfgebhardt Pushed a fix for this last night, let me know when you can!

<!-- gh-comment-id:381659353 --> @jasonmunro commented on GitHub (Apr 16, 2018): @ulfgebhardt Pushed a fix for this last night, let me know when you can!
Author
Owner

@ulfgebhardt commented on GitHub (May 18, 2018):

Not fixed - still a Problem in 087402ea2a

<!-- gh-comment-id:390196512 --> @ulfgebhardt commented on GitHub (May 18, 2018): Not fixed - still a Problem in 087402ea2aff837a0b9ab024d7e9f93bad71f1cb
Author
Owner

@jasonmunro commented on GitHub (Jun 6, 2018):

Confirmed that this is still not 100%. It's works sometimes, but not others. It seems that the inline message event overriding is not firing when in all cases for some reason.

<!-- gh-comment-id:395245498 --> @jasonmunro commented on GitHub (Jun 6, 2018): Confirmed that this is still not 100%. It's works sometimes, but not others. It seems that the inline message event overriding is not firing when in all cases for some reason.
Author
Owner

@ulfgebhardt commented on GitHub (Jul 14, 2018):

Still a Problem

<!-- gh-comment-id:405022089 --> @ulfgebhardt commented on GitHub (Jul 14, 2018): Still a Problem
Author
Owner

@jasonmunro commented on GitHub (Jul 16, 2018):

Yep, it's a race condition situation. The inline view is trying to set it's own callback event for the move feature, but sometimes the standard callback assignment happens after the inline message module, causing it to use the wrong flow and not have the right message id to move.

I worked on this friday, and almost got it sorted. Hope to this week. This is the last of the inline message view bugs I think, I'm tracking them here:

https://github.com/jasonmunro/cypht/projects/1

<!-- gh-comment-id:405355027 --> @jasonmunro commented on GitHub (Jul 16, 2018): Yep, it's a race condition situation. The inline view is trying to set it's own callback event for the move feature, but sometimes the standard callback assignment happens after the inline message module, causing it to use the wrong flow and not have the right message id to move. I worked on this friday, and _almost_ got it sorted. Hope to this week. This is the last of the inline message view bugs I think, I'm tracking them here: https://github.com/jasonmunro/cypht/projects/1
Author
Owner

@jasonmunro commented on GitHub (Jul 23, 2018):

@ulfgebhardt another fix attempt pushed. Please re-test and let me know when you can. Thanks!

<!-- gh-comment-id:407137046 --> @jasonmunro commented on GitHub (Jul 23, 2018): @ulfgebhardt another fix attempt pushed. Please re-test and let me know when you can. Thanks!
Author
Owner

@jasonmunro commented on GitHub (Sep 24, 2018):

I was going to go ahead and close this but I tested it again just in case an IT WAS STILL NOT WORKING!!! At issue here is some weirdness with how the IMAP move/copy dialog works, as well as some callback hell. I now have a fix that works in all cases. Basically I'm not trying to swap callbacks and pass in the message uuid to override the checked messages anymore. Instead I'm just setting a very specific global uuid to move and when the final callback fires to actually move the message checking to see if it's set and using that instead of any other selected checkbox (and then unsetting it). I'm going to go ahead and close this now, feel free to re-open if you are still having issues. Also, I stopped the UI from scrolling to the top when a message is opened while using inline view. That was a pain! :)

I'm planning on adding some end to end tests for message and message list activities - I will include inline message view operations as a part of that effort!

<!-- gh-comment-id:424142770 --> @jasonmunro commented on GitHub (Sep 24, 2018): I was going to go ahead and close this but I tested it again just in case an IT WAS STILL NOT WORKING!!! At issue here is some weirdness with how the IMAP move/copy dialog works, as well as some callback hell. I now have a fix that works in all cases. Basically I'm not trying to swap callbacks and pass in the message uuid to override the checked messages anymore. Instead I'm just setting a very specific global uuid to move and when the final callback fires to actually move the message checking to see if it's set and using that instead of any other selected checkbox (and then unsetting it). I'm going to go ahead and close this now, feel free to re-open if you are still having issues. Also, I stopped the UI from scrolling to the top when a message is opened while using inline view. That was a pain! :) I'm planning on adding some end to end tests for message and message list activities - I will include inline message view operations as a part of that effort!
Author
Owner

@ulfgebhardt commented on GitHub (Oct 5, 2018):

Confirming fix! TY <3

<!-- gh-comment-id:427323090 --> @ulfgebhardt commented on GitHub (Oct 5, 2018): Confirming fix! TY <3
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#214
No description provided.