! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Wrong focus while cycling with alt+tab
Status:
RESOLVED: MOVED

Comments

Description Felipe Contreras 2020-05-28 20:38:30 CEST
This is a very particular issue that happens when I'm on a xfce4-terminal (or any VTE terminal), and I switch to a Tcl/Tk window with alt+tab (cycling), if I cycle back to to the terminal, the cursor doesn't resume blinking (as if there was no focus).

This only happens while cycling (alt+tab); if I click on the terminal window with the mouse the focus is fine. If I select the option "Raise windows while cycling" it also works fine with alt+tab.

It also only happens when the mouse enters the Tcl/Tk window; if I just cycle to the window, and back to the terminal, blinking resumes fine.

Since I use xfce4-terminal a lot, and also gitk (written in Tcl/Tk), and I always use alt+tab, that means the cursor of the terminal essentially never blinks.

I've tested in GNOME and i3, and cycling through the windows works fine, so it's definitely a bug in xfwm4.

You can test a Tcl/Tk window by running the "wish" command.
Comment 1 Olivier Fourdan editbugs 2020-05-28 20:39:51 CEST
Is the keyboard focus correct tough, regardless of the cursor blinking?
Comment 2 Olivier Fourdan editbugs 2020-05-28 20:43:33 CEST
(works fine here, btw)
Comment 3 Felipe Contreras 2020-05-28 21:47:24 CEST
(In reply to Olivier Fourdan from comment #1)
> Is the keyboard focus correct tough, regardless of the cursor blinking?

Yes, keyboard focus is fine. Everything seems to be fine, except that for some reason VTE thinks there's no focus and the cursor doesn't blink.

> (works fine here, btw)

You open "wish", mouse over to the new window, alt+tab back to the xfce4-terminal, and you see the cursor blinking?

You've made sure cycle_raise is false?

  xfconf-query -c xfwm4 -p /general/cycle_raise -t bool -s false
Comment 4 Git Bot editbugs 2020-05-29 12:48:57 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfwm4/-/issues/390.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16891

Reported by:
Felipe Contreras
Reported on: 2020-05-28
Last modified on: 2020-05-29

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
4.14.0

Attachments

Additional information