Lavoista / kouchat

Automatically exported from code.google.com/p/kouchat
0 stars 0 forks source link

popup notifications on windows screen #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For many users want to receive notification of incoming messages directly to 
the center (for example) of the screen. 
With full or partial display of the content of the message.
This window might appear for a while, can be added to specify the time-out in 
program settings. 
And it would be convenient to remove it from the screen manually by pressing 
Esc button.

Kouchat 1.3.0 Windows 7 x64 Pro

Original issue reported on code.google.com by mikum...@ya.ru on 12 Nov 2014 at 2:51

GoogleCodeExporter commented 9 years ago
What about the balloons in the system tray?

Original comment by blu...@gmail.com on 12 Nov 2014 at 7:05

GoogleCodeExporter commented 9 years ago
As can be seen, tray notification for some users is insufficient.
their previous chat had that opportunity.
But I personally think it's really convenient when message comes to the content 
that is immediately evident whether to enter into correspondence or is it just 
an informational message that can be read and closed.

Original comment by mikum...@ya.ru on 12 Nov 2014 at 9:32

GoogleCodeExporter commented 9 years ago
So you are thinking about bringing the main chat window or the private chat 
window to the front when there is activity? Both windows already hide when 
pressing escape.

Original comment by blu...@gmail.com on 13 Nov 2014 at 1:17

GoogleCodeExporter commented 9 years ago
not the main chat window or the private chat window, just informational window 
with displaying message and 2 buttons "ignore" (Esc button) and "go to chat" 
(Enter button), or just one button "ok"

Original comment by mikum...@ya.ru on 13 Nov 2014 at 2:13

GoogleCodeExporter commented 9 years ago
OK. Sounds like what the balloons does today, except the message is not 
included.

If the message was optionally included in the balloons, would that be good 
enough?

Original comment by blu...@gmail.com on 17 Nov 2014 at 1:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
i think yes, if there will be a timer option for displaying message and buttons.

Original comment by mikum...@ya.ru on 17 Nov 2014 at 1:40

GoogleCodeExporter commented 9 years ago
I've hacked together a proof of concept here:
https://www.dropbox.com/s/ofb4wo1rbsl1q04/kouchat-1.3.0-balloons.jar?dl=0

Activate balloons in the settings and minimize to system tray to test.
What do you think?

Original comment by blu...@gmail.com on 18 Nov 2014 at 6:19

GoogleCodeExporter commented 9 years ago
seems to be that is a solution) i will test it on users
ps kouchat says "not connected" when java 7.71 is used.

Original comment by mikum...@ya.ru on 18 Nov 2014 at 8:48

GoogleCodeExporter commented 9 years ago
Sounds good.

I will test java 7.71 later. Did you try the previous version of java as well? 
Or did you skip several versions?

Original comment by blu...@gmail.com on 19 Nov 2014 at 1:05

GoogleCodeExporter commented 9 years ago
7.51 Java and some 6.x versions work fine, after changing to 7.51 problem 
appears.
Began testing the user, through week reported.

Original comment by mikum...@ya.ru on 19 Nov 2014 at 1:39

GoogleCodeExporter commented 9 years ago
I've tested with java 7.71, and have not seen any problems.

It's not the Windows firewall blocking traffic? When I start KouChat the first 
time with a new java I get a popup asking me to accept java using the network.

Original comment by blu...@gmail.com on 19 Nov 2014 at 6:11

GoogleCodeExporter commented 9 years ago
And you tested on windows 7 x64 pro? My firewall is completely disabled. By the 
way, I have not seen any pop-ups. I'll try to repeat the problem on the new 
system, as will be free time.

Original comment by mikum...@ya.ru on 19 Nov 2014 at 8:22

GoogleCodeExporter commented 9 years ago
Yes, I have tested on both Linux and Windows 7 x64 pro.

Original comment by blu...@gmail.com on 21 Nov 2014 at 11:09

GoogleCodeExporter commented 9 years ago
According to the test results on the users can report that in systray 
notification is not enough. Must be flashing on unread messages in the list of 
users and in the systray.

About java 7.71. I replaced again java 7.51 (x32 and x64) to 7.71 (x32 and 
x64), and then restart and got the same error "not connected". log attached.

Original comment by mikum...@ya.ru on 24 Nov 2014 at 1:12

Attachments:

GoogleCodeExporter commented 9 years ago
OK. Thanks for testing.

What is the reason they want a flashing icon in the system tray? Do they not 
notice the big balloon?

As for the Java issue, could you try adding "-Djava.net.preferIPv4Stack=true" 
to the command and see if it works any better? Add it together with the other 
-D parameter you have for user name, like:

C:\WINDOWS\system32\javaw.exe -Djava.net.preferIPv4Stack=true 
-Duser.name=%COMPUTERNAME% -jar kouchat.jar --minimized

If it's still a problem, could you start KouChat with the "--debug" parameter 
to get more logging? You can put it last, after --minimized

Original comment by blu...@gmail.com on 25 Nov 2014 at 5:35

GoogleCodeExporter commented 9 years ago
no problem.

Blinking is necessary because when a message comes in and something flashes 
once in systray a person can not look at this time is not to monitor or simply 
did not notice if overworked, but if there constantly flashes, or rather change 
color from white to green and back (until he does not look a message) that the 
user is guaranteed not to miss the message.
Tested on the old chat "Netter" (only windows xp). I can attach it, what would 
you look, suddenly would be helpful.

the trick with Djava.net.preferIPv4Stack is working fine.

Original comment by mikum...@ya.ru on 25 Nov 2014 at 6:38

GoogleCodeExporter commented 9 years ago
OK I'll test how a blinking icon looks when I have some time.
I am not familiar with Netter. You could perhaps show me some screenshots?

Good that preferIPv4Stack helps. Not sure why you need this, but must be 
something they changed regarding IPv6 in the newest version of Java.

Original comment by blu...@gmail.com on 25 Nov 2014 at 6:56

GoogleCodeExporter commented 9 years ago
In most cases, "Netter" is very similar to kouchat, so I think it would be 
interesting. Unfortunately, I have an application only with Russian GUI. look, 
if you want.

Original comment by mikum...@ya.ru on 25 Nov 2014 at 9:28

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks

Original comment by blu...@gmail.com on 1 Dec 2014 at 8:31

GoogleCodeExporter commented 9 years ago
I think I have reproduced the network issue you had.

If I disable IPv6 on the network interface, then it wont connect without 
preferIPv4Stack. This is related to a bug in the newest version of Java: 
https://bugs.openjdk.java.net/browse/JDK-6458027

It seems to be fixed in some newer build, that is not released yet. According 
to Oracle there should be a new release of Java 7 in January, so perhaps the 
fix is included then.

Original comment by blu...@gmail.com on 1 Jan 2015 at 12:05

GoogleCodeExporter commented 9 years ago
the truth that "is out there" now found. Happy New Year!

Original comment by mikum...@ya.ru on 1 Jan 2015 at 12:16

GoogleCodeExporter commented 9 years ago
Thanks! Happy New Year! 

Original comment by blu...@gmail.com on 1 Jan 2015 at 12:21