Welcome!
Forum users

Current releases
--MX-23 release info here
--Migration information to MX-23 here
--antiX-23.1 (Arditi del Popolo) release info here

Important information
--If in starting your system it boots to an unwanted Desktop, right click desktop, then select leave and logout. At the
login screen there is a session chooser at the top of the screen.

News
-- MX Linux on social media: here
-- New Forum Features, Marking Solved and Referencing a User: here

nomacs hotkey issue

Report Bugs, Issues and non- package Requests
Post Reply
Message
Author
User avatar
rich
Posts: 180
Joined: Sat Mar 31, 2018 6:39 pm

nomacs hotkey issue

#1 Post by rich »

Hello can anyone confirm if this is a bug?

I'm seeing an issue with nomacs. If I use hotkeys to open an image it freezes and crashes. For example, open nomacs, press ctrl+o to bring up Open Image dialog, press enter (optionally change selection using up/down arrow keys.)

No crash occurs if the mouse is used to open the Open Image dialog or select an image from the dialog. It only/always seems to happen if only hotkeys are used.

User avatar
dolphin_oracle
Developer
Posts: 19831
Joined: Sun Dec 16, 2007 1:17 pm

Re: nomacs hotkey issue

#2 Post by dolphin_oracle »

I just tried the ctnl+O hotkey and worked ok here.

tried a few others...seems to work OK.

anything else having problems with hotkeys?
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: nomacs hotkey issue

#3 Post by Richard »

Hmmm.
Opened Nomacs via menu.
Used Ctrl-O then arrow keys to select an image.
Did not open the image, then in about five or ten seconds,
Nomacs crashed with no error message?
then,

Opened Nomacs via menu.
Used Ctrl-O then mouse to select an image.
Did not open the image, then in about five or ten seconds,
Nomacs crashed with no error message?
then,

Opened Nomacs via menu with mouse.
Used Ctrl-O then mouse to select an image.
in a few seconds the image opened.

However, after the above, returned to the first procedure
and it opened, then it failed.
jpg's open OK, but png's lead to a crash, that I tried.
Unless I use the mouse, then they open.

I thought it was just a quirk of Nomacs,
and I quit using it in favor of Shotwell.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

User avatar
rich
Posts: 180
Joined: Sat Mar 31, 2018 6:39 pm

Re: nomacs hotkey issue

#4 Post by rich »

Thanks for taking a look
dolphin_oracle wrote:I just tried the ctnl+O hotkey and worked ok here.

tried a few others...seems to work OK.

anything else having problems with hotkeys?
Just to confirm, I'm only seeing the problem if I use ctrl+O AND press enter to select the file. If I use ctrl+O and click on the file or click on the open button, it's fine.
Richard wrote: Opened Nomacs via menu.
Used Ctrl-O then mouse to select an image.
Did not open the image, then in about five or ten seconds,
Nomacs crashed with no error message?
then,

Opened Nomacs via menu with mouse.
Used Ctrl-O then mouse to select an image.
in a few seconds the image opened.
Yep, this is about what I got. It crashes if you use only hotkeys to open the image, otherwise it's alright.
Richard wrote: jpg's seem to open OK, but png's seem to lead to a crash.
On my end I'm not seeing a difference between jpgs or png.

I did a little testing, this behavior happens for me on the original MX 17.0 iso (checked to rule out if updates in last few months caused an issue, guess not), also happens on 32bit iso (checked just because, I'm running 64bit), also I checked to see if this happens in featherpad, as they're both qt5 apps, thought maybe there was something there, guess not. I ran nomacs from the terminal, this is what I get. (The seg fault occurs as the application crashes, the rest of the output is from when it's launched.)

Code: Select all

rich@mx:~
$ nomacs
[INFO] Hi there
[WARNING] QObject::connect: Cannot connect (null)::runPlugin(DkViewPortInterface*, bool) to nmc::DkControlWidget::setPluginWidget(DkViewPortInterface*, bool)
[WARNING] QObject::connect: Cannot connect (null)::applyPluginChanges(bool) to nmc::DkControlWidget::applyPluginChanges(bool)
[WARNING] QObject::connect: Cannot connect (null)::runPlugin(DkPluginContainer*, const QString&) to nmc::DkViewPort::applyPlugin(DkPluginContainer*, const QString&)
[INFO] local client created in:  29 ms
[INFO] CSS loaded from:  ":/nomacs/stylesheet.css"
[INFO] LAN client created in:  0 ms
[INFO] Initialization takes:  424 ms
Warning: Failed to decode Exif metadata.
Segmentation fault
So it does seem to be an issue confined to nomacs, but I didn't see any similar bug reports on upstreams end. I can file one if we don't find anything here.

edit

I confirmed this issue also happens on regular debian xfce (stretch) but does NOT happen under KDE environment on MX or debian (i.e. when using kdialog instead of gtkfilechooser)

And finally, it doesn't care whether it's using gtk2 or gtk3 file chooser, no good either way.

This is what /var/log/messages is able to tell me:

Code: Select all

May  6 09:35:45 mx kernel: [36577.709012] nomacs[29638]: segfault at 7ffbff7fdfb8 ip 00007efbfdef5938 sp 00007ffbff7fdf70 error 6 in libQt5Gui.so.5.7.1[7efbfdd1b000+51d000]
Last edited by rich on Sun May 06, 2018 9:56 am, edited 3 times in total.

User avatar
dolphin_oracle
Developer
Posts: 19831
Joined: Sun Dec 16, 2007 1:17 pm

Re: nomacs hotkey issue

#5 Post by dolphin_oracle »

ok, I tried, that...cntrl +O plus enter to select a file. ...and it does crash, rather ungraciously.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Gordon Cooper
Posts: 965
Joined: Mon Nov 21, 2011 5:50 pm

Re: nomacs hotkey issue

#6 Post by Gordon Cooper »

Just to complicate/confuse matters, I tried the same sequences as Richard. No crashes but the machine locked up twice.
Backup: Dell9010, MX-19_B2, Win7, 120 SSD, WD 232GIB HD, 4GB RAM
Primary :Homebrew64 bit Intel duo core 2 GB RAM, 120 GB Kingston SSD, Seagate1TB.
MX-18.2 64bit. Also MX17, Kubuntu14.04 & Puppy 6.3.

User avatar
rich
Posts: 180
Joined: Sat Mar 31, 2018 6:39 pm

Re: nomacs hotkey issue

#7 Post by rich »

I went ahead and filed a bug over here:
https://github.com/nomacs/nomacs/issues/219

User avatar
Richard
Posts: 1577
Joined: Fri Dec 12, 2008 10:31 am

Re: nomacs hotkey issue

#8 Post by Richard »

Thanks. Good report.
Look forward to a new version, soon.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.

User avatar
rich
Posts: 180
Joined: Sat Mar 31, 2018 6:39 pm

Re: nomacs hotkey issue

#9 Post by rich »

It's fixed now in master

Post Reply

Return to “Bugs and Non-Package Requests Forum”