I can confirm this to be true in the 3.40-3 version which specifically had a change from Debian:
* MIME-type information was added in mtpaint.desktop (Closes: #774502). That said, imagining an SRU for so small and so easy a change is unlikely, so we'll likely not see this fixed in any released versions of *buntu. Furthermore, the primary maintainers of LXDE, the Lubuntu team, have moved on to LXQt as of 18.10 and with it a whole different set of apps. The last version of Lubuntu with mtpaint in it was 18.04 which will be supported until April 2021. Additionally, it seems that mtpaint hasn't been updated in years (2 or 7 depending on where you're looking). I'd pretty much call it dead. Therefore, I would really suggest looking into some other option for your needs. ** Description changed: - == Package version == - apt-cache policy mtpaint - mtpaint: - Installed: 3.40-3 - Candidate: 3.40-3 - Version table: - *** 3.40-3 400 + == Steps to reproduce == + 1. Using pcmanfm, right click on an image + 2. Select open with mtpaint or if that's not an option, select "Open with.." and select mtpaint from the "Graphics" section == Expected behaviour == mtpaint opens the image == Actual behaviour == - When using LXDE/openbox and opening an image via right-click+open with, mtpaint displays an error message indicating the file could not be opened (see attachment). + mtpaint displays an error message indicating the file could not be opened - == Suggested Fix == - In the desktop file, changing the exec line to be: - + == Workaround == + Edit /usr/share/applications/mtpaint.desktop and change the Exec line from: + Exec=mtpaint %U + to Exec=mtpaint %f - fixes this issue + == Affected Versions == + 3.40-3 ** Description changed: == Steps to reproduce == - 1. Using pcmanfm, right click on an image - 2. Select open with mtpaint or if that's not an option, select "Open with.." and select mtpaint from the "Graphics" section + 1. Using pcmanfm, right click on an image + 2. Select "Open with mtpaint" or if that's not an option, select "Open with.." and select mtpaint from the "Graphics" section == Expected behaviour == mtpaint opens the image == Actual behaviour == - mtpaint displays an error message indicating the file could not be opened + mtpaint displays an error message "Cannot open file" == Workaround == Edit /usr/share/applications/mtpaint.desktop and change the Exec line from: Exec=mtpaint %U to Exec=mtpaint %f == Affected Versions == 3.40-3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1714264 Title: mtpaint's desktop file uses URL instead of file when opening To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mtpaint/+bug/1714264/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs