[Bug 175904]
(In reply to Jeremy Nickurak from comment #23) > Created attachment 343829 > Shell script to open a URL strictly in a new firefox tab on the current > workspace > > As a substitute for a fix of this bug, I've worked around it with a shell > script that uses wmctrl to get the ideal behavior. It'll check to see if > there's an existing firefox window open on the current workspace, and if so, > (optionally) focus it, and load a url in a new tab there. If there's no such > window, it'll simply open it in a new window on the current workspace. Thanks for that script, it works very well. This is the behavior I wish Firefox could have out of the box (Reuse-window-in-current-desktop otherwise create-new-in-current-desktop). Much better than jumping to another desktop or opening tabs hidden into another desktop. Any chance for this to happen? -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/175904 Title: Firefox window moves to current workspace To manage notifications about this bug go to: https://bugs.launchpad.net/firefox/+bug/175904/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 309778] Re: KDE always associates *.jar with the zip mime type
Reported in KDE as https://bugs.kde.org/show_bug.cgi?id=207517, but this is indeed a debian/ubuntu bug. There's no reason for /usr/share/mime/packages/sun-java6-jre.xml to exist, it only redefines what freedesktop.org.xml already defines, and with another mimetype name. That file should be removed from the package. The reason the accuracy is low is that there's a conflict on the *.jar glob, when both application/java-archive (from packages/sun- java5-jre.xml) and application/x-java-archive (from freedesktop.org.xml) are associated with it. So kmimetypefinder doesn't really know which one to choose. To help deciding that it does mimetype sniffing (looking at the contents), and that says application/zip - because the magic for jar files seems wrong/incomplete. freedesktop.org.xml says magic priority=85 match value=PK\003\004 type=string offset=0 match value=0xcafe type=host16 offset=40/ /match /magic but although I see PK\003\004 in all jar files (the zip header), I don't see 0xcafe at offset 40. Does someone know of a proper way to recognize a jar file from its contents? Anyway all this seems to come from the missing application/java-archive alias for application/x-java-archive in freedesktop.org.xml (it should have been defined as an alias, not as a conflicting glob, in the xml file...). That mimetype name has NOT been registered to IANA, so in theory it should have a x- prefix, but well, it seems commonly used that way so I think I can add it to shared-mime-info. ** Bug watch added: KDE Bug Tracking System #207517 http://bugs.kde.org/show_bug.cgi?id=207517 -- KDE always associates *.jar with the zip mime type https://bugs.launchpad.net/bugs/309778 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to shared-mime-info in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 309778] Re: KDE always associates *.jar with the zip mime type
And in addition, the .class files get compressed inside the .jar file, so their contents cannot be found at all ;-) (The lack of a precise offset wouldn't be a big problem in itself, shared-mime-info has support for scanning a range of byte positions.) Thanks for the info, wrong magic removed from shared-mime-info's freedesktop.org.xml Now all we need is for /usr/share/mime/packages/sun-java6-jre.xml to be removed :) -- KDE always associates *.jar with the zip mime type https://bugs.launchpad.net/bugs/309778 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to shared-mime-info in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs