User-Agent: Opera/9.27 (X11; Linux i686; U; en) Build Identifier: (version 0.2.8, on Hardy) When a Terminal takes some time to open, e.g. due to swapping, two Terminals will open. This is really annoying. I understand this has something to do with D-Bus and timeouts... Reproducible: Always Steps to Reproduce: 1. Use some memory heavy apps so that things are swapped to disk. 2. Press hotkey for Terminal. 3. After a couple of seconds one Terminal will open, and then another. Actual Results: Two Terminal windows open. Expected Results: One Terminal window should open.
I also have seen this, but I attributed it to sticky keys or some such...
What seems to be happening is: 1. A Terminal process launches, sends message to Terminal service to open new window, waits for reply 2. Service receives message, tries to open new window, which requires swapping things back into memory 3. Terminal process stops waiting due to timeout and launches a window itself 4. Service is done swapping and has opened a window, now it sends a reply Increasing the timeout is just a workaround. A better solution would be to enhance the protocol to make the service send two replies: - one before opening a new window, to confirm that it received the request (the process that sent the request can wait for this with a short timeout) - one after opening the window, to give success/failure info (the other process can wait for this without a timeout)
This does only happen when there is already a terminal instance running right?