Forums › English Language Forums › Technical › Technical Issues

Search

Window Title and Application Name

4 replies [Last post]
Fri, 06/03/2011 - 22:20
Roobles
Legacy Username

Hello,
When I launch Spiral Knights, from either the web browser or desktop shortcut, it has a blank Window Title and Application Name. From the desktop, I am using the command:

cd ~/.getdown/spiral/ && java -jar getdown-pro.jar .

The result of doing so is:
Window Title: 'Untitled window'; Application Name: 'Untitled window'; Class: ''; Geometry: 1370x797+0+25

However, if in game I change the resolution, that information gets populated and it becomes:
Window Title: 'Spiral Knights'; Application Name: 'Spiral Knights'; Class: ''; Geometry: 1450x929+0+25

Restarting the application has it blank again.

My first guess was that it had to do with your use of Google's Getdown, but the issue still occurs even if I launch Spiral Knights via:


java \
-classpath /home/roo/.getdown/spiral/./code/config.jar:/home/roo/.getdown/spiral/./code/projectx-config.jar:/home/roo/.getdown/spiral/./code/projectx-pcode.jar:/home/roo/.getdown/spiral/./code/lwjgl.jar:/home/roo/.getdown/spiral/./code/lwjgl_util.jar:/home/roo/.getdown/spiral/./code/jinput.jar:/home/roo/.getdown/spiral/./code/jshortcut.jar:/home/roo/.getdown/spiral/./code/commons-beanutils.jar:/home/roo/.getdown/spiral/./code/commons-digester.jar:/home/roo/.getdown/spiral/./code/commons-logging.jar\
-Dcom.threerings.getdown=true\
-Xmx256M\
-XX:+AggressiveOpts\
-XX:SoftRefLRUPolicyMSPerMB=10\
-Djava.library.path=/home/roo/.getdown/spiral/./native\
-Dorg.lwjgl.util.NoChecks=true\
-Dsun.java2d.d3d=false\
-Dappdir=/home/roo/.getdown/spiral/.\
-Dresource_dir=/home/roo/.getdown/spiral/./rsrc\
com.threerings.projectx.client.ProjectXApp\

Which, so far as I can tell, bypasses Getdown? (Launch command taken from launcher.log)

My question here is if there's any available work-around, any manner of launching Spiral Knights, whereby I can assure the application will have either a Window Title or Application Name?

This is important to me so that I can catch it at time of launch, and run some window manager commands against it.

Tue, 06/07/2011 - 22:24
#1
Roobles
Legacy Username
Bumping

It has been five days since I have posted this question. As yet, it is without a response. I believe the forum nettiquite allows me to bump this post, in hopes that I will receive one.

Tue, 06/07/2011 - 23:46
#2
Lufte's picture
Lufte
Do you launch the game in

Do you launch the game in fullscreen mode? I have it in window mode, and it always has the correct application name.

Wed, 06/08/2011 - 13:02
#3
Roobles
Legacy Username
Thank you for responding. I

Thank you for responding. I currently launch in windowed mode. The issue I'm experiencing is about timing. After I launch the application, I can even see on my window manager decoration that the program doesn't have an application name. In about 1/2 to 3/4ths of a second later though, it gets filled in.

So I'm looking to see if there is any workaround on having it launch with that information, or even temporary information in its place.

Wed, 06/08/2011 - 16:44
#4
Lufte's picture
Lufte
Ah, so you need it to be

Ah, so you need it to be filled right away to perfom the action you want? Well that seems hard to do, maybe the game perfoms lots of internal work before setting the title for the window. Can't you put some kind of delay in the program that's supposed to do the commands you want?

Powered by Drupal, an open source content management system