Problem on 2 KDE installs, basically the same but for nvidia driver on one.
Download attached documents* from email**, open by clicking on the icon in dolphin. They open with ark. Okay, close ark, right-click, menu shows “open with libreoffice calc” (or writer as appropriate) and "open with => " where the arrow points to a submenu that includes wps office on my installation. (I haven’t yet tried uninstalling wps office to see if that makes a difference, because I only just thought of it.)
But wait, there’s more. Having opened with libreoffice (or WPS office), make some change, save and close. Now icon in dolphin shows as a zip. Inspect properties, file type shows as zip. Right click menu no longer offers libreoffice as a choice.
I notice when downloading multiple attachments from the same message in gmail, that they come as an archive, to be extracted, though this doesn’t happen with single files. Still it got me wondering, do mail handlers archive attachments for transmission and set some kind of flag in the process, one that overrides the extension itself, and if so, how can I remove that flag?
*extension.docx, .xls, .xlsm that I remember for sure. PDF did not have the problem.
**tested download from gmail webclient and tutanota local client, tested send through those services and also outlook webclient.
I initially noticed this on spreadsheets I use for work (the xlsm I mentioned), whose provenance I can’t verify, but my test included docs created for the purpose, fresh from libreoffice (or MS-office on a windows source). That is, the word “test” was the sole content, they opened normally prior to being emailed, and they they behaved as I decribed after being emailed.
If anyone else is talking about a problem like this on the interwebs, proving it is beyond my goo-fu. Has anyone here seen the like?
GEF
PS: I haven’t yet filed a bug report; not sure which component has the bug. I’m not even sure if it’s KDE or Tumbleweed related because I don’t presentlay have anything else setup to test.