Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qsocketnotifier can only be used with threads started with qthread #1053

Open
locture opened this issue Feb 26, 2023 · 2 comments
Open

Qsocketnotifier can only be used with threads started with qthread #1053

locture opened this issue Feb 26, 2023 · 2 comments

Comments

@locture
Copy link

locture commented Feb 26, 2023

OS: Fedora 37
DE: GNOME 43.3 Wayland
OS QT version: 5.15.8

Nvim-qt: v0.2.17.0 QT version 5.15.5, installed thru the official repo.

Error description: starting neovim-qt from terminal gives out the error message "qsocketnotifier can only be used with threads started with qthread". Despite this code, the software starts normally thru the terminal.

This behavior is only observed on said Fedora machine with GNOME 43.3 and QT 5.15.8. On a Arch Linux VM with KDE plasma 5.27, QT 5.15.8, and package neovim-qt version 0.2.17-2, the error code is not found.

Expected behavior: no explicit error message should be sent out.

@bonderado
Copy link

Issue observed on:
Linux 6.5.0-4-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) x86_64 GNU/Linux
wth :
GNOME Shell 44.5
nvim-qt v02.17.3

@w-A-L-L-e
Copy link

Exact same thing happens in Ubuntu 24.04 LTS:
nvim-qt starts and runs fine but this annoying error is shown when you start it in the terminal:

vim-qt 
(.pyenv) ➜  ~ QSocketNotifier: Can only be used with threads started with QThread

```
According to qt forums it might have something todo with using QFileSystemWatcher:

https://forum.qt.io/topic/29587/solved-qsocketnotifier-can-only-be-used-with-threads-started-with-qthread/8?_=1719617689704&lang=en-US

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants