linuxdeepin / developer-center

Deepin developer center, provide developer wiki and community forum.
450 stars 73 forks source link

[archlinux] Dock and Java applications don't play well #111

Closed bmentink closed 8 years ago

bmentink commented 8 years ago

Hi,

It seems running Java apps, that then launch there own windows, don't behave well with the Launcher. I created a desktop file and icon for a java app that is launched with " java -jar application-name" and the icon is present in the launch bar.

I click the icon and the program runs, then I get the program to open some windows .... all the windows appear when I hover over the icon in the launch bar as it should.

However, if I close the windows with the window close button, the window does not go away all the time in the icon, and even when you close the program down with the window button, the icon remains in the bar. You cannot now get rid of it, or un-dock it, you have to logout/in again ... If instead of closing with the windows icon, I close with the icon hover close button in the dock, then everything behaves correctly ..

Eventually by opening/closing windows with the window decoration, the Dock is un-responsive.

I hope I have explained this clearly ..

PS: I am running Arch installed with "Arch Everywhere ISO and chose the Deepin Desktop + extras

bmentink commented 8 years ago

anyone?

hualet commented 8 years ago

Hi @bmentink , what java application, can you be more specific ?

bmentink commented 8 years ago

It's a stockmarket program called "screenulator", it can be freely downloaded from here:

http://www.screenulator.com/ischarts.jar

hualet commented 8 years ago

@electricface

electricface commented 8 years ago

This problem has been resolved in newest version

snyh commented 8 years ago

which commit solved this ?

bmentink commented 8 years ago

And will that be fed downstream to ArchLinux? How does that work?

felixonmars commented 8 years ago

The Arch packages will be updated as soon as there is a new tag. I assume @electricface meant that it's already included in a tagged release.

hualet commented 8 years ago

@bmentink @felixonmars Yeah, we've tested the java application you provided, it worked pretty well with the new Dock.

hualet commented 8 years ago

@snyh The dock daemon is somewhat rewritten by @electricface , so there's no one specific commit solves this issue, it's a huge code base change.

bmentink commented 8 years ago

I'll look forward to trying it when Arch gets updated .. Many Thanks guys ...

On Mon, Aug 15, 2016 at 4:39 PM, hualet notifications@github.com wrote:

@snyh https://github.com/snyh The dock daemon is somewhat rewritten by @electricface https://github.com/electricface , so there's no one specific commit solves this issue, it's a huge code base change.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/linuxdeepin/developer-center/issues/111#issuecomment-239728303, or mute the thread https://github.com/notifications/unsubscribe-auth/AJp6hzL9Snk_EHoZMPVbfQjkW5OzZ6rdks5qf-19gaJpZM4JfrZ6 .

bmentink commented 8 years ago

Hi Guys,

Unfortunately my bug is not resolved.

I got the latest deepin-launcher from testing and I have the same problem with the Java application, eventually if you open/close windows, a window or two stays in the icon and can not be removed. Also, it stops the launcher starting other programs via their launch icon.

Note you have to do about 10..20 window open/close for this to show up.

Version: [installed: 3.0.12-1]

By the way my desktop file for this app is:

[Desktop Entry] Version=1.0 Type=Application Name=ischarts Exec=java -jar /usr/local/bin/ischarts.jar Icon=/usr/share/pixmaps/ischarts.png Categories=Others; MimeType=application;

Cheers

bmentink commented 8 years ago

Solved with the most recent update :)