New Spark Popups

i suppose that only happens when you join a chatroom?

The SparkToaster has the same issues i think

feature is still in development, just wanted to get some opinions and maybe some feature requests

@wroot:

popups disappear after 3 seconds

they start in top right corner and move downwards until they reach the end and then start another line left of it

features planned:

  • display time

  • colors

  • click events

  • different shapes (current is round corner rectangle)

Yep – toaster does the same, but since toaster doesn’t make a new window for each, it’s not as noticeable

added a newer version to the first post

you can configure colors duration and maximum amount of popups displayed on the screen

http://community.igniterealtime.org/servlet/JiveServlet/download/212287-11179/ro ar.jar

root /usr/bin/spark/src/plugins/roar/build # ant jar

Buildfile: build.xml

clean:

[delete] Deleting directory /usr/bin/spark/target/plugins-dev/roar/classes

compile:

[mkdir] Created dir: /usr/bin/spark/target/plugins-dev/roar/classes

[javac] Compiling 6 source files to /usr/bin/spark/target/plugins-dev/roar/classes

[javac] /usr/bin/spark/src/plugins/roar/src/java/org/jivesoftware/spark/roar/RoarPanel. java:36: package com.sun.awt does not exist

[javac] import com.sun.awt.AWTUtilities;

[javac] ^

[javac] /usr/bin/spark/src/plugins/roar/src/java/org/jivesoftware/spark/roar/RoarPanel. java:50: cannot find symbol

[javac] symbol : variable AWTUtilities

[javac] location: class org.jivesoftware.spark.roar.RoarPanel

[javac] AWTUtilities.setWindowShape(window, new RoundRectangle2D.Float(0, 0,

[javac] ^

[javac] /usr/bin/spark/src/plugins/roar/src/java/org/jivesoftware/spark/roar/RoarPanel. java:52: cannot find symbol

[javac] symbol : variable AWTUtilities

[javac] location: class org.jivesoftware.spark.roar.RoarPanel

[javac] AWTUtilities.setWindowOpaque(window, true);

[javac] ^

[javac] /usr/bin/spark/src/plugins/roar/src/java/org/jivesoftware/spark/roar/RoarPanel. java:78: cannot find symbol

[javac] symbol : variable AWTUtilities

[javac] location: class org.jivesoftware.spark.roar.RoarPanel

[javac] AWTUtilities.setWindowOpacity(window, 0.9f);

[javac] ^

[javac] 4 errors

BUILD FAILED

/usr/bin/spark/src/plugins/roar/build/build.xml:38: Compile failed; see the compiler error output for details.

Total time: 6 seconds

Trying to build it too – not sure if i’m just missing some dependencies.

what java and what ant version are you using?

com.sun.awt.AWTUtilities was introduced as a beta class in java 6u10 i believe

java version “1.6.0_16”

Java™ SE Runtime Environment (build 1.6.0_16-b01)

Java HotSpot™ Client VM (build 14.2-b01, mixed mode, sharing)

Apache Ant version 1.7.1 compiled on November 10 2008

For Mac users would be nice if it had the option to simply keep bouncing the dock icon until the message is focused. It already bounces the icon once, so maybe it wouldn’t be that hard. I think this is the standard behavior for most Mac IM apps.

i thought the standard behavior for unread messages in Mac OS is a small red circle in the dock with the number of unread messages, isn’t it?

but maybe that’s not the point. maybe we could add the option in preferences to let spark bounce until you read the messages .

No I think that’s more the standard behavior for Mail clients or notifications of lesser urgency. iChat (the native chat app), for instance, bounces until you focus the message. I think Adium can do the same.

your waaaay in the wrong thread here,

This thread is about the development of a new plugin,

which shouldnt be used on a mac, since it only replicates Growl-Like behaviour

but anyhow, feel free to commit patches to the apple-plugin

12399, on Win7 x64 when i hover Popups enabled in Roar settings it starts to show something else (overlapping images), also on Win7 x64 default colors for bg and text were black.

Also, is it mainly targeted on Mac/Linux users? Can you add an option to start showing popups in lower right corner and going upwards?

Wolf logo in the preferences window looks weird…

Original Spark popup can be clicked to focus on a chat window. Handy feature.

Where can i find an i18n file for Roar plugin?

Mac has Growl

so its target would be windows/linux

stuff that needs to be added:

  • display position (top right, top left, bottom right or bottom left)

  • languages

  • the weird hover transparency issue… sometimes you just gotta hate java

  • popup click actions

i like the background logo alot

i’d say the plugin is still in an early development phase, hence the version number 0.2 :wink:

Well, that logo is huge and it is partly hidden under the preferences. It could be smaller and could be say in the lower right corner of the preferences window (along with plugin’s author credits ). Also, maybe it would be better to use same logo in the preferences left panel and in the preferences window, for consistency. I think wolf logo is better describing “roar” than a paw.

latest version

roar.amount - probably should have a translation

choosing popup starting position still has a weird effect

Can we think of the option to prevent showing popups after opening a group chat window?

yes we can, how would you like it?

  • if Chatwindow is in focus, dont show popups for active tab

  • if in focus dont show popups for groupchats

  • if in focus dont show popups at all

i thought i fixed the weird hover effect, seems i have to look again

i have mistyped roar.amount in the english file, in german it works :wink:

How most people at my office use it, is to see what’s going on in conference rooms – the only thing i’d like it no to do, is to display existing chats when you initially load spark (we have autojoin on).

thats a common groupchat problem

the server resends all messages in the muc, thus the messagelistener is fired up.

until now the best way to cope with it, is to set the amount of popups to a fixed size

Pref->roar->amount = 7

ill work some more on this later today

Wolf_P. wrote:

yes we can, how would you like it?

  • if Chatwindow is in focus, dont show popups for active tab
  • if in focus dont show popups at all

Can’t choose between one of these two. I thin it shouldn’t show popups when the chatwindow is in focus, means when you are already chatting with someone. But i’m not sure whether it should show a popup when a message arrives in an inactive tab. I’m leaning towards the first option, to actually show popups for inactive tabs. While you are chatting with someone, you can still see what others are saying to you. I think this option will help with auto starting group chat too as it will start in focus. But if there is more than one group chat autostarting, then other groupchat will be as inactive tabs (or will they become active just for a second?) and so they messages will appear as popups.

Wolf_P. wrote:

i thought i fixed the weird hover effect, seems i have to look again

Hover issue is now gone. Another issue. In the popup it shows sender’s username. I think it is better to show the name/nickname.