Run application text input expansion works incorrectly

Bug #365964 reported by Mikko Rantalainen
2
Affects Status Importance Assigned to Milestone
gnome-panel (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: gnome-panel

Steps to reproduce:

1. sudo aptitude install sun-java6-jdk
2. press Alt+F2 to start "Run application" dialog of gnome-panel
3. Type "j" and wait for a few seconds (so that the list of icons have been updated
4. Type "c" the input now reads "jc[on]" where the part between brackets is selected (This is correct, possible choices are jconsole and jcontrol)
5. Type "o"

Expected results:

The input now reads "jco[n]" (the n is selected an will be overwritten if I type anything)

Actual results:

The input now reads "jcon" (the "n" is not selected). This prevents me from successfully launching the jconsole by typing "jcons" in the dialog because after the "jco" part the input has been changed to "jcon" and when I continue the rest of the program name ("nsole") the end result is "jconnsole" which obviously does not work.

Other information:

There seems to be some kind of race condition somewhere because sometimes the "n" is correctly selected after "jco" part and sometimes not. It seems that waiting after the "j" helps to reproduce the problem.

I haven't examined if the problem is caused by the fact that "jconsole" can be found from the main menu (and so has an icon) and "jcontrol" cannot be found from the main menu (and has no icon but application says in the bottom "Will run command: 'jcontrol'" if I toggle the "Show list of known applications").

$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04

$ apt-cache policy gnome-panel
gnome-panel:
  Installed: 1:2.26.0-0ubuntu7
  Candidate: 1:2.26.0-0ubuntu7
  Version table:
 *** 1:2.26.0-0ubuntu7 0
        500 http://fi.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, I'm not confirming on jaunty the "n" is selected there

Changed in gnome-panel (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
Revision history for this message
Mikko Rantalainen (mira) wrote :

Did you try multiple times? As you can see, I'm also running jaunty. I'd say that "n" is not selected about 4 times in 10. Because this seems to be some kind of race condition, I'll report some extra information:

Possible factors: CPU speed, kernel, Xorg

$ uname -a
Linux semyol-329-b 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:58:03 UTC 2009 x86_64 GNU/Linux
$ cat /proc/cpuinfo | grep "model name" | uniq
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
$ dpkg-query --show xserver-xorg-video-intel
xserver-xorg-video-intel 2:2.6.3-0ubuntu9

I agree that importance is low right now, but if the problem is more visible with higher CPU speed, then it will be much more visible in the future.

The issue seems to be also slightly easier to reproduce if you do not close the dialog but after trying once, you clear the input with backspace and type the letters again. In this case, it's easier to reproduce if all letters ("jco") are rapidly typed.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

this works fine for me as well, cannot confirm. Mikko you might want to send this upstream directly at bugzilla.gnome.org since you're getting the issue.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version.Thanks in advance.

Changed in gnome-panel (Ubuntu):
status: New → Incomplete
Revision history for this message
Mikko Rantalainen (mira) wrote :

I'm still running Ubuntu 10.04.2 LTS so I cannot test Natty right now. However, I cannot reproduce with lucid anymore. I'm still using the same harwdware but software has been upgraded to latest lucid plus I'm running PREEMPT kernel.

As such, I would mark this as Works for me.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

closing the bug then, thanks for the feedback.

Changed in gnome-panel (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
status: Incomplete → Fix Released
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.