← Back to team overview

desktop-packages team mailing list archive

[Bug 740313] Re: gedit declines to take focus when opening second document

 

Here's a screencast. In it I follow the steps of the original repro.

1. Double-click fake.txt in Nautilus. gedit opens.
2. Type 'asdf' into gedit.
3. alt-tab back to Nautilus.
4. Double click foobar.txt.
5. gedit opens the file and comes to the front, but doesn't have focus.
5. Type ctrl-I to goto line in gedit and end up renaming a file (NB pressing 'F2' is even worse, since Nautilus doesn't come to the front).

** Attachment added: "launchpad-740313.ogv"
   https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/740313/+attachment/2593159/+files/launchpad-740313.ogv

** Changed in: gedit (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gedit in Ubuntu.
https://bugs.launchpad.net/bugs/740313

Title:
  gedit declines to take focus when opening second document

Status in “gedit” package in Ubuntu:
  New

Bug description:
  Binary package hint: gedit

  1. Open Nautilus
  2. Double-click a text file
  3. gedit opens and takes focus
  4. Return to Nautilus
  5. Double-click a second text file
  6. The file opens in gedit and gedit comes to the front, but Nautilus retains focus (even if gedit is maximised!)
  7. Use the mousewheel to scroll the document while reading
  8. Time passes
  9. Fail to observe that gedit didn't take focus the second time
  10. Press Ctrl-W to close the document you were reading
  11. Nautilus closes

  AFAICT, this behaviour was recently introduced.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/740313/+subscriptions