-
Notifications
You must be signed in to change notification settings - Fork 548
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
Bookmark and bookmark tag names don't have any text sanitization #1117
Comments
Hello. I can't confirm this in my development branch (https://github.com/vladisslav2011/gqrx/tree/fft_channelizer) on Ubuntu 18.04 Qt 5.9.5+dfsg-0ubuntu1. At least "!" character does not crash Gqrx/break bookmarks. I have started Gqrx with bookmarks.csv file removed, added some bookmarks, set some tags including "!", did several restarts, listened to some local ham communications at 2M, some railroad communications, some HDMI interference and local telemetry - no crash and no bookmarks lost. There are multiple possible solutions for this issue:
I'll test current master and update this comment. |
Hi, For the gqrx versions, I first found the '!' bug while working on a development branch on my desktop, but I tested it on the master branch (at 1edb983) and I got the same result. I hadn't tested it on my laptop until now... I still get the crash on the current master (1edb983), but not the official package. Note that the official package on Arch is out of date (currently at 2.15.8) and built against a different (but API compatible) version of GNU Radio, so I don't fully trust it. That's probably different on other distros. I suspect that the '!' crash has something to do with Qt, partially from when I went over the relevant configuration file code, but I haven't looked into it enough to say for sure. I can do some more testing later today on my desktop, and at some point I can try downgrading qt. |
I also cannot reporduce it at the moment here with Gqrx v2.15.8-3-g1ef9236. would be helpful to know what env reports for the LANG varaible on your machine, here it is LANG=en_US.UTF-8 |
Nothing weird with language or locales other than my keyboard layout. Here's the package versions of the dependencies listed on the README if it's helpful:
|
I would love to see support for json bookmark files. I can confirm this behavior with the latest release (Gqrx-2.15.9-x86_64.AppImage) on Pop!_OS 21.10. Here's the bookmarks file that was updated with the GUI:
And the relevant output at next startup:
|
…qrx-sdr#1117" This reverts commit 8c62788.
Bookmark tag names containing "!" (or certain other characters) can cause weird behavior, and can delete all your bookmarks. This can also happen with bookmark names, but it's less consistent.
To recreate:
Other problematic characters:
The text was updated successfully, but these errors were encountered: