copy-as-org-mode icon indicating copy to clipboard operation
copy-as-org-mode copied to clipboard

Notifications and freeze on Linux: add a pause

Open maxnikulin opened this issue 2 years ago • 2 comments

I am not a user of the add-on, but I have noticed a mention of a problem I was struggling with some time ago.

README.org

Notification may freeze the whole Firefox when using on Linux (Test on Firefox 92, Ubuntu & Manjaro), but such issue seems not occurs on Firefox for Windows.

You may add a pause for a fraction of second between clipboard.writeText and sending a notification. Likely the issue will be significantly alleviated.

Is it KDE in your case? If not, please add description of your environment to https://bugzilla.mozilla.org/1769930 I suspect, KDE is doing something is a wrong way as well, so the issue should be reported to them too. On the other hand I have enough bugs to report in my backlog.

A minor unrelated note that does not deserve a separate issue.

TODOs

  • Customizable keyboard shortcuts.

From manifest.json I expect it is already configurable through Firefox UI.

maxnikulin avatar Jun 10 '22 15:06 maxnikulin

  1. Sorry for late, thanks for providing this information!
  2. Yes, I'm using KDE.
  3. This solution may not be applied until someone make a PR, or I have free time and a good mood because I urgently need a vacation.
  4. And I found that the in-page notification is much more readable (e.g. I can make it larger and wider, set font to monospace...etc) than OS's one.

kuanyui avatar Jun 19 '22 13:06 kuanyui

Kuanyui, thank you for the information that you met the problem in KDE as well.

I am reluctant in respect to blind pull requests especially to projects that I do not use. I hope, some time later after a period of hard work you will be recovered and will add a single line with setTimeout at your spare time. Or maybe the Firefox bug will be fixed earlier.

maxnikulin avatar Jun 26 '22 05:06 maxnikulin