sindresorhus / caprine

Elegant Facebook Messenger desktop app
MIT License
7.04k stars 557 forks source link

"Messages are missing. Sync now." does nothing #2167

Open ohshitgorillas opened 6 months ago

ohshitgorillas commented 6 months ago

For end-to-end encrypted chats, which require the new Facebook Messenger pin number to be entered to view the chats, the "Sync now" feature does not work--nothing happens when I click it. As a result, all encrypted chats are missing up to the point at which Caprine was installed.

Caprine 2.60.1 Pop!_OS 22.04 LTS Linux 6.8.0-76060800daily20240311-generic

KabaleTech commented 6 months ago

Same issue

Fedora Linux 40 (Workstation Edition) kernel : 6.8.7-300.fc40.x86_64 Caprine 2.60.1

TheMightyPengu commented 6 months ago

Same issue Manjaro Linux x86_64 (unstable branch) Kernel 5.15.156-1-MANJARO Caprine 2.60.1 (flatpak and AUR)

hamburger-fries commented 6 months ago

I am able to get the 1-time code but where to enter the 1-time code? Seems we need a UI with a form field to add the 'security code'.

Windows 11 Caprine 2.50.1

mquevill commented 6 months ago

This is due to the hide-preferences-window class that has been used, since it also ends up hiding the PIN window (and other windows like "Security Alerts", etc.). When Facebook makes backend changes, this is often one part of Caprine that breaks. And when that class doesn't get removed as expected, it prevents any of these types of pop-up windows from showing.

A temporary workaround: If you access the developer tools via F12, you can edit the main <html> element to remove the hide-preferences-window class from the list within class="...".

rainforest-9716 commented 5 months ago

A temporary workaround: If you access the developer tools via F12, you can edit the main <html> element to remove the hide-preferences-window class from the list within class="...".

It works! Maybe this issue should be pinned temporarily?

dcargonaut commented 3 months ago

Same issue with Windows port.

vampyre2000 commented 1 month ago

This is due to the hide-preferences-window class that has been used, since it also ends up hiding the PIN window (and other windows like "Security Alerts", etc.). When Facebook makes backend changes, this is often one part of Caprine that breaks. And when that class doesn't get removed as expected, it prevents any of these types of pop-up windows from showing.

A temporary workaround: If you access the developer tools via F12, you can edit the main <html> element to remove the hide-preferences-window class from the list within class="...".

This worked for me as well. Thank you so much you have saved my sanity

ShadowDrakken commented 1 month ago

hide-preferences-window seems to serve no purpose. It blocks the "Messenger Settings" menu item as well as the PIN input, and doesn't seem to provide any real benefit. If the project ever comes back to life it would be nice to see it removed.

Zennwah commented 3 days ago

Deleting hide-preferences-window used to be permanent for me. For some time now it comes back after restarting Caprine. What could be the issue?

semikolon commented 2 days ago

How can I help with this? What needs to be changed?

SilverSaw commented 1 day ago

@semikolon Capture

Click F12 to see this hide-preferences-window from the main element class="..." Caprine must be forced to remove it permanently on start because when we remove it manually. For a few days, it comes back after every restart of caprine and its not anymore possible to remove it manually. @mquevill how can we save our edits permanently by removing hide-preferences-window manually because it is always returning when I restart caprine. It blocks the sync function and historical messages from other devices are not available, also it blocks pin authentication. We do not see any purpose of hide-preferences-window