spatie / ray

Debug with Ray to fix problems faster

Home Page:https://myray.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

mbaric opened this issue · comments

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

  • Ray version: 2.6.4
  • spatie/ray 1.37.2
  • spatie/laravel-ray 1.32.4
  • PHP version: 8.1.11
  • Laravel version: 9.52.9

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

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?

Hi @Sam-Apostel .

All good and working with version 2.6.5. Thank you.

image

image

image

All good and working with version 2.6.5. Thank you.

Thank you for confirming!