Add ability to match windows by regexp

Bug #1075150 reported by Vladimir Kravets
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Plank
Incomplete
Undecided
Unassigned

Bug Description

Some of application can be launched via bash or something else. In this case plank will not match window with launcher.
I'm proposing add to dockitem file the property which add ability to specify regexp by which we will detect windows for this launcher.

E.g. in such way:
[PlankItemsDockItemPreferences]
Launcher=/home/sly-arch/.launchers/IDEA11.desktop
Sort=1
MatchGroup=IntelliJ IDEA 11\..*

In this case my application launch via such command:
bash -c "export JAVA_HOME=/home/sly-arch/opt/jdk1.7.0_03; /home/sly-arch/opt/IDEA11.1/bin/idea.sh"
Main widows have name IntelliJ IDEA 11.1.4

And plank produce two dock items:
Main launcher and the windows which was produced after launch the application.

Revision history for this message
Robert Dyer (psybers) wrote :

Ok so to be 100% clear here, your problem is *only* with Java applications?

Changed in plank:
status: New → Incomplete
Revision history for this message
Vladimir Kravets (vova-kravets) wrote :

It seems yes, I check similar behavior with bash and xfce terminal and it seems plank detect windows well.

Revision history for this message
Robert Dyer (psybers) wrote :

Ok this is actually a problem with BAMF (which does the window matching for us). See bug 765466 for more details.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.