Copy icon not working in Ray and does not copy the selected window text to the clipboard
mbaric opened this issue · comments
Matija Baric commented
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
- In the code write in
ray()->showQueries();
- Run the app and get the query in Ray
- 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.
Desktop:
Ubuntu 22.04.3 LTS
Sam Apostel commented
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?
Matija Baric commented
Sam Apostel commented
All good and working with version 2.6.5. Thank you.
Thank you for confirming!