Libreoffice .desktop files containing StartupWMClass strings (since 4.1) confuse BAMF in precise
Bug #1238122 reported by
Marco Trevisan (Treviño)
This bug affects 20 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BAMF |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
0.2 |
Fix Committed
|
Medium
|
Marco Trevisan (Treviño) |
Bug Description
LO 4.1 adds to .desktop files the StartupWMClass string. While this is correct in general, the LO windows are very slow to update their flags and this leads to matching errors in Ubuntu 12.04.
We need to ignore such values then.
A woarkaround for people affected by this is just removing the class key from .desktop files by running:
sudo sed '/StartupWMClas
Saucy is not affected by this bug, since it monitors the window class directly.
Related branches
lp:~3v1n0/bamf/lo-startupwmclass-ignore
- Brandon Schaefer (community): Approve
-
Diff: 20 lines (+9/-1)1 file modifiedsrc/bamf-matcher.c (+9/-1)
summary: |
Libreoffice .desktop files containing StartupWMClass strings (since 4.1) - confuse BAMF + confuse BAMF in precise |
description: | updated |
Changed in bamf: | |
milestone: | none → 0.2.128 |
description: | updated |
Changed in bamf: | |
status: | In Progress → Fix Committed |
Changed in bamf: | |
status: | Fix Committed → Fix Released |
milestone: | 0.2.128 → none |
To post a comment you must log in.
Marco: Your 'sed' workaround does not fix this problem entirely. After running it every calc and every writer document has only one icon on the launcher and when you hover your mouse over them it only says "LibreOffice Calc" or "LibreOffice Writer" instead of each document having its own icon and the mouse hovering would tell you the name of the document.
Argh, I just checked this on a 13.10 box and the behavior is the same., documents have no separate icons on the launcher. Since when is this the default behavior?