spatie / ray

Debug with Ray to fix problems faster
https://myray.app
MIT License
555 stars 101 forks source link

Copy icon not working in Ray and does not copy the selected window text to the clipboard #825

Closed mbaric closed 10 months ago

mbaric commented 10 months ago

On my linux machine where I use dockrezied Laravel environment when I click on Copy icon see below, Ray does not send the text to clipboard.

Versions

To Reproduce

  1. In the code write in ray()->showQueries();
  2. Run the app and get the query in Ray
  3. Click on the far right icon to copy the query to clipboard

Expected behavior Get the FULL query into clipboard.

Actual result Clipboard does NOT contain the query.

Screenshots image image image

Desktop: Ubuntu 22.04.3 LTS

Sam-Apostel commented 10 months ago

Hi @mbaric

In the ray app v2.6.5 we use the browsers built in Clipboard.writeText API to copy to the clipboard, this should be more stable across different machines.

Can you check on your end if this has solved your issue?

mbaric commented 10 months ago

Hi @Sam-Apostel .

All good and working with version 2.6.5. Thank you.

image

image

image

Sam-Apostel commented 10 months ago

All good and working with version 2.6.5. Thank you.

Thank you for confirming!