flathub / flathub/app.grayjay.Grayjay

App Crashes when pressing ctrl-t or middle clicking a URL

Open
#45 8 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
Python
Stars
14
Forks
1
PR merge metrics
No merged PRs in 30d

Description

> ### Reproduction steps
>
> * Scenario 1: middle-click a URL, such as in a YouTube video's description
>
> * Scenario 2: press `ctrl-t` from anywhere in the app
>
>
> ### Actual result
>
> In both scenarios, Grayjay freezes for about a second after the input, then crashes.
> ### Expected result
>
> * middle-clicking a URL should either open the URL in the default browser or do nothing
>
> * pressing `ctrl-t` should have done nothing since Grayjay doesn't have a tabbed interface
>
>
> ### Grayjay Version
>
> 12
> ### What plugins are you seeing the problem on?
>
> All
> ### Plugin Version
>
> _No response_
> ### Which operating system are you using?
>
> Linux
> ### Which OS version are you using?
>
> Bazzite stable 43.20251126
> ### Are you using flatpak?
>
> * [x] Check this if you installed flatpak version for Linux. If unsure, leave blank.
>
>
> ### When do you experience the issue?
>
> * [ ] While logged in[ ] While logged out[x] N/A
>
>
> ### Are you using a VPN?
>
> Yes
> ### References
>
> _No response_
> ### Relevant log output
> ```
> [2025-12-14 18:34:32.725] [ERROR] [T] An exception occurred in the IPC
> Exception: Unable to read beyond the end of the stream.
> Stack Trace: at System.IO.Stream.ReadAtLeastAsyncCore(Memory`1 buffer, Int32 minimumBytes, Boolean throwOnEndOfStream, CancellationToken cancellationToken)
> at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
> at DotCef.DotCefProcess.b__28_3()
> [2025-12-14 18:34:32.738] [ERROR] [T] An exception occurred while handling UDP result: 'The operation was canceled.': at System.Threading.CancellationToken.ThrowOperationCanceledException()
> at System.Threading.CancellationToken.ThrowIfCancellationRequested()
> at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
> at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
> at System.Net.Sockets.UdpClient.g__WaitAndWrap|62_0(ValueTask`1 task)
> at FUTO.MDNS.MDNSListener.ReceiveLoopAsync(UdpClient client, CancellationToken cancellationToken) in /run/build/grayjay/SyncServer/FUTO.MDNS/FUTO.MDNS/MDNSListener.cs:line 268
> [2025-12-14 18:34:32.738] [ERROR] [T] An exception occurred while handling UDP result: 'The operation was canceled.': at System.Threading.CancellationToken.ThrowOperationCanceledException()
> at System.Threading.CancellationToken.ThrowIfCancellationRequested()
> at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
> at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
> at System.Net.Sockets.UdpClient.g__WaitAndWrap|62_0(ValueTask`1 task)
> at FUTO.MDNS.MDNSListener.ReceiveLoopAsync(UdpClient client, CancellationToken cancellationToken) in /run/build/grayjay/SyncServer/FUTO.MDNS/FUTO.MDNS/MDNSListener.cs:line 268
> Log flusher exited with exception: System.Threading.Tasks.TaskCanceledException: A task was canceled.
> at Grayjay.Desktop.POC.Log.<.ctor>b__7_0()
> ```

Originally posted at https://github.com/futo-org/Grayjay.Desktop/issues/808

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.