FIFO buffering works only sometimes. #1

Open
opened 10 months ago by yuvallangerontheroad · 1 comments

Example of FIFO buffering working:

  1. Mark text in gnome-terminal.
  2. Run clipboard-speaker and while the text is being read aloud,
  3. mark some other text in gnome-terminal and
  4. run another instance of clipboard-speaker.

After the first marked text finishes being read, the second batch of text will be read.

Example of FIFO buffering not working would be to do the same as above, but using text in Firefox.

The first instance is supposed to live as long as consecutive instances feed more text into the FIFO from which the first instance receives its text. When the FIFO is empty, the first instance would exit.

So in summary, the FIFO buffer works for text in gnome-terminal but not for Firefox.

Example of FIFO buffering working: 1. Mark text in `gnome-terminal`. 2. Run `clipboard-speaker` and while the text is being read aloud, 3. mark some other text in `gnome-terminal` and 4. run another instance of `clipboard-speaker`. After the first marked text finishes being read, the second batch of text will be read. Example of FIFO buffering not working would be to do the same as above, but using text in Firefox. The first instance is supposed to live as long as consecutive instances feed more text into the FIFO from which the first instance receives its text. When the FIFO is empty, the first instance would exit. So in summary, the FIFO buffer works for text in `gnome-terminal` but not for Firefox.

Commit ad9549a93b might have solved this problem.

Commit ad9549a93bb4d69dfba52bfb14ceefdc53efabcc might have solved this problem.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: yuvallangerontheroad/clipboard-speaker#1
Loading…
There is no content yet.