[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
** Changed in: wine Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
Launchpad has imported 11 comments from the remote bug at https://bugs.winehq.org/show_bug.cgi?id=32699. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2013-01-10T18:00:32+00:00 Simon K wrote: See launchpad bug here: https://bugs.launchpad.net/unity/+bug/702452 In Ubuntu Unity applications run via wine have the default wine-icon (the wine-bottle) in the "Running Program-Icons"-bar (The Task-bar). Thus all applications are getting "stacked" under one icon. To stop this behavior you have to write in each (generated) .desktop-file the Line: StartupWMClass= Example Firefox: StartupWMClass=firefox.exe Wine should do this automatically after I installed my program, so the users would get the expected Icons and "Stacking-Mechanism" in Unity. Reply at: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1103833/comments/0 On 2013-04-13T15:33:11+00:00 Rgcjonas-c wrote: This bug is a huge usability problem nowadays (in both Gnome Shell and Unity). The current solution matches all wine applications to a single desktop file, because every wine window has a WM_CLASS of "Wine" and the desktop file a StartupWMClass=Wine . I'd consider this incorrect, because * Every wine application is now grouped to the same .desktop file, even though they're completely different applications * You can't start the application the window belongs to by clicking the .desktop file (<-- this is the real problem) Furthermore, this leads to the following problems in both Unity and gnome shell: * Every wine window is grouped to the same icon * The description "Wine windows program launcher" doesn't help when identifying the application * You can pin the icon to the launcher, but it will never start anything. Luckily, windows 7 can also group and pin apps on the taskbar, and AFAIK (correct me if I'm wrong) they match windows to launchers as follows: * If the process set a AppUserModelID for the process or the window, then windows 7 searches for a shortcut file with the matching property System.AppUserModel.ID * In case that fails, it falls back to searching a shortcut that specifies the running exe file. * If that doesn't work either, the 'pinning' feature is disabled for that window, and it will be grouped by the process exe file. The only way to correctly solve our problem is by replicating windows 7's method. I'd suggest the following implementation: * Set the StartupWMClass of every .desktop file to the System.AppUserModel.ID property of the windows shortcut (if it exists) or the (case sensitive) name of the launched .exe file. * Let every wine window have a WM_CLASS (res_class, because gnome shell ignores res_name) of the explicit AppUserModelID, if the application has set it, or the name of the running .exe file (the value that is set to res_name as of now). This would then show the following behaviour (which IMHO is the one the user will probably expect): * If the application correctly set an AppUserModelID and specified it in the shortcut, the desktop will match the windows with the correct .desktop file. It will be pinnable. * If the application displays the window from the same process that is started with the shortcut, it will also be matched (because of the .exe file name in wm_class). * If the window does not belong to any shortcut, the desktop environment won't match it. The app will not be pinnable in that case. I don't know how Unity or Gnome Shell would handle grouping in that case. Reply at: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1103833/comments/4 On 2013-05-28T12:46:57+00:00 Damjan Jovanovic wrote: Anything running under any runtime or custom loader (Java, Mono, Python, Perl, Ruby, even running an application with strace or gdb) will exhibit exactly the same stacking problem. Wow the Linux desktop is really owning. Reply at: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1103833/comments/5 On 2013-05-28T12:58:09+00:00 Rgcjonas-c wrote: The same problem microsoft was facing when they introduced windows 7. They developed a solution (AppUserModelIDs) which maps quite cleanly to the linux solution (WMClass). We just need to implement that AppUserModelID stuff and export it as WM Classes. Reply at: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1103833/comments/6 On 2013-05-28T17:21:52+00:00 Vincent Povirk wrote: AppUserModelID is the way to go in the long run, but it requires some missing architecture (which I've been slowl
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
Anyone using 14.10 can confirm that the bug is fixed? ** Changed in: unity Status: Confirmed => Incomplete ** Changed in: unity (Ubuntu) Status: Triaged => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
This bug was fixed in the package wine1.6 - 1:1.6.2-0ubuntu6 --- wine1.6 (1:1.6.2-0ubuntu6) utopic; urgency=medium * Remove experimental pthread patch (causes regressions) - http://bugs.winehq.org/show_bug.cgi?id=36772 - http://bugs.winehq.org/show_bug.cgi?id=36744 * Actually apply the extraneously large buffer revert patch - Was somehow turned off in previous update - Reduces audio latency; upstream only increased buffer for non-linux drivers * Build-depend on ocl-icd-opencl-dev instead of its deps (LP: #1371196) - Remove direct build-depend on ocl-icd-libopencl1 and opencl-headers * Add Arabic and Japanese translations for the .desktop files (LP: #1320290) - Thank you Akira Nakagawa * Remove ocl-icd-libopencl1 from recommends (LP: #1313123, #1376587) - Spurious as there is an automatic dependency on it or its substitutes - Might fix some installability problems on proprietary drivers * Exclude libpulse0 from auto-dependency generation (LP: #1226314) - It correctly remains a recommends, as it is possible to run Wine without pulseaudio - debian/rules: exclude winepulse.drv.so from parsing by dh_shlibdeps * Import patch to mostly fix wine icon appearing instead of app icon (LP: #1103833) - Patch courtesy Michael Müller, possibly to be replaced by later patches * Downgrade winbind from Recommends to Suggests (LP: #302148) -- Scott RitchieMon, 06 Oct 2014 14:22:27 -0700 ** Changed in: wine1.6 (Ubuntu) Status: Triaged => Fix Released ** Bug watch added: Wine Bugzilla #36772 http://bugs.winehq.org/show_bug.cgi?id=36772 ** Bug watch added: Wine Bugzilla #36744 http://bugs.winehq.org/show_bug.cgi?id=36744 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
** Branch linked: lp:ubuntu/utopic-proposed/wine1.6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
** Package changed: wine (Ubuntu) => wine1.6 (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
Sorry, I forgot to mention that for my workaround (see previous comment) to function you need shortcut.exe from http://optimumx.com/downloads.html#Shortcut somewhere in your Wine path (like windows/system32). This little tool "allows you to create, modify or query Windows shell links (shortcuts) from the command-line". It's been a useful addition to my Wine toolbox for so long that I forgot it's not part of Wine itself. It should be (but with a less clumsy DOSish syntax). My apologies for the noise. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
So according to the lastet comments adding a StartupWMClass corresponding to the name of the application's executable to each Wine .desktop file would be a temporary workaround for this problem, until it's fixed in Wine? Let's try it: find "$HOME/.local/share/applications/wine/Programs" -name '*.desktop' -exec perl -pi -e 'if (m/^Exec=.+ \/Unix (.+\.lnk)/) { ($l = $1) =~ s/ / /g; $r = qx[env WINEDEBUG=-all wine shortcut /f:"$l" /a:q]; if ($r =~ m/\nTargetPath=(?:.+\\)?([^\\\n]+)/) { print "StartupWMClass=$1\n"; } }' '{}' \; And hey, it works! Mostly, that is, for me. A few exceptions turned out to be due to to EITHER differences in capitalization between what's in the .lnk file and the actual exectutable on disk OR some internal shenanigans by program loaders/cracks. Try this workarond at your own risk. Be sure to backup ~/.local/share/applications/wine/Programs beforehand. You may have to run "xdg-desktop-menu forceupdate" to see any changes. YMMV. To revert the changes, i.e. to remove all StartupWMClass lines from all Wine .desktop files: find "$HOME/.local/share/applications/wine/Programs" -name '*.desktop' -exec perl -pi -e 's/StartupWMClass=.+\n//' '{}' \; This workaround (or a permanent fix) also seems to fix https://bugs.launchpad.net/ubuntu/+source/unity/+bug/704187. And maybe https://bugs.launchpad.net/ubuntu/+source/unity/+bug/998591. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
There may be a workaround, a patch is posted at the linked Wine bug. ** Changed in: wine Importance: Low => Unknown ** Changed in: wine Status: Won't Fix => Unknown ** Changed in: wine Remote watch: Wine Bugzilla #35768 => Wine Bugzilla #32699 ** Changed in: wine (Ubuntu) Status: Invalid => Triaged ** Changed in: wine (Ubuntu) Assignee: (unassigned) => Scott Ritchie (scottritchie) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
Christopher, could you verify if Crossover is adding StartupWMClass to the .desktop files it creates manually? As I understand it Crossover has specific installer scripts for the various applications it supports, so munging the desktop file in a way Wine doesn't generally do in order to workaround the Unity issue is totally plausible. http://bugs.winehq.org/show_bug.cgi?id=32699 ** Bug watch added: Wine Bugzilla #32699 http://bugs.winehq.org/show_bug.cgi?id=32699 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
@ Frederic Defoy: The bug is marked as affecting Unity but not Wine. It is intended to be fixed in Unity only. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
As a Unity developer who uses Crossover, I don't see this issue. The installed apps show up in the Launcher using the icon intended for the app. For example, I use Quicken Deluxe 2014 w/ Crossover and the Quicken icon is in the Launcher and when I click on it, Quicken launches and the icon shows it's launched. The tooltip for the icon also says "Quicken 2014 Deluxe". I didn't have to do anything special for this to work either- it just worked, so I'm not really sure what is going on with other users. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
Im not sure if im reading this right but it appears both upstream and downstream is assuming this will be fixed by the other party and both marked this as fixed. Am I reading this properly? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
sweet.. another major buntu annoyance that wont get fixed /sigh -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
** Changed in: wine (Ubuntu) Status: Triaged => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
** Changed in: wine Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1103833] Re: Wine's icon and description appears for all Windows applications
Launchpad has imported 2 comments from the remote bug at http://bugs.winehq.org/show_bug.cgi?id=35768. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2014-03-11T10:57:24+00:00 Alberto Salvia Novella wrote: If I start an application using Crossover (or Wine), the application will always be the Wine Logo instead of the application logo. This is the same independent of the application being run or using Wine instead of Crossover. That makes sense if the application has no logo, but it gets confusing running multiple Microsoft Office programs - and all of them have the same logo. The hint text for the icon is also "Wine Windows Program Loader" instead of "Document 1 - Microsoft Word" as it should be. Unity does not seem to allow Wine/Crossover to use application icons and title text. I have confirmed that this issue does NOT occur in Gnome Classic, and is only a Unity flaw. Downstream report is at https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1103833. Reply at: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1103833/comments/3 On 2014-03-11T11:03:44+00:00 Alberto Salvia Novella wrote: Picture of just the Wine icon appearing instead of Microsoft Word: https://bugs.launchpad.net/wine/+bug/1103833/+attachment/3497887/+files/Untitled.png Reply at: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1103833/comments/4 ** Changed in: wine Status: Unknown => New ** Changed in: wine Importance: Unknown => Low -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1103833 Title: Wine's icon and description appears for all Windows applications To manage notifications about this bug go to: https://bugs.launchpad.net/hundredpapercuts/+bug/1103833/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs