Bug 126026 - wrong window icon for an LO calc file started from file manager
Summary: wrong window icon for an LO calc file started from file manager
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.1.5.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-20 18:09 UTC by Oliver Grimm
Modified: 2020-02-28 22:17 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screenshot for bug 126026 (wrong app icon in desktop) (11.91 KB, image/png)
2019-11-29 12:30 UTC, Oliver Grimm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Grimm 2019-06-20 18:09:03 UTC
Description:
When opening a LO calc file by double clicking on it in a nautilus windows (a Linux file manager), the new task bar entry sometimes appears with a wrong icon (wrong file type). LO uses the icon of the LO file type that is already open instead of the file type that is to be opened.

Steps to Reproduce:
1.open LO writer with an odt file
2.start nautilus file manager
3.double click on an ods file in nautilus to open it

Actual Results:
LO calc starts a new windows with the selected calc file. However, the task list icon for the new window shows a writer icon.

Expected Results:
opening a window for a new calc file should always use a calc icon in the task bar.


Reproducible: Sometimes


User Profile Reset: No



Additional Info:
* the system here is Debian 10 "buster" running Cinnamon Desktop Environment.
* the bug is reproducible with different file managers (nautilus, nemo, thunar, gnome commander)
* strangely, the bug does NOT always occur, but in about 50% of the cases when opening a file. Even opening the SAME file yields a 50% bug occurence! Unfortunately I could not find a pattern, when or why the bug occurs. Seems completely random to me.
* it seem to me that LO always opens a new windows with the previous file type icon first, then changes the icon after ca .25 seconds. Sometimes the icon change does not happen.

Version: 6.1.5.2
Build-ID: 1:6.1.5-3
CPU-Threads: 2; BS: Linux 4.19; UI-Render: Standard; VCL: gtk3; 
Gebietsschema: de-DE (de_DE.utf8); Calc: group threaded
Comment 1 Xisco Faulí 2019-11-25 15:53:03 UTC
Thank you for reporting the bug.
it seems you're using an old version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 2 Oliver Grimm 2019-11-29 12:30:05 UTC
Created attachment 156182 [details]
screenshot for bug 126026 (wrong app icon in desktop)

both docx and xlsx windows opened with LibreOffice use a LO Writer icon. I'd expect the xlsx file to be opened with a Calc icon.
Comment 3 Oliver Grimm 2019-11-29 12:31:39 UTC
still a bug in LO 6.3.3
in Debian Linux 10, Cinnamon Desktop.

Unfortunately I cannon check it with the "fresh" version since I only have my production desktop machine available here.

+ screenshot
Comment 4 Oliver Grimm 2020-02-26 19:38:06 UTC
cannot reproduce with KDE Plasma 5.17.5, vcl: kf5
Comment 5 Oliver Grimm 2020-02-28 22:17:54 UTC
cannot reproduce it anymore, even in Cinnamon Desktop Environment.
Setting to WORKSFORME