Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox, Paraview, VS Code drop-down menu not working #3718

Closed
amit112amit opened this issue Jun 11, 2019 · 2 comments

Comments

Projects
None yet
3 participants
@amit112amit
Copy link

commented Jun 11, 2019

I'm submitting a…

[x] Bug
[ ] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

  1. Start i3 with default config and launch Firefox / VS Code / Paraview using dmenu.
  2. Press Alt + F to open the File menu from the menu bar.
  3. In Firefox, the menu appears but trying to select an option using up, down arrow keys does not work. In VS Code, I can see the menu rapidly flickering and disappearing. In Paraview, the menu does not show up.
  4. Press $mod + Enter to open a terminal to the side of Firefox / VS Code / Paraview.
  5. Either close the newly opened terminal with $mod + Shift + q or just switch to the window (Firefox / VS Code / Paraview) on the left with $mod + ;. Now try Alt + F again and everything works as expected!

Expected Behavior

The drop-down menus must show up and the arrow keys must allow to select options from the menu.

Reproduction Instructions

Same as in the section Current Behaviour.

Environment

Output of i3 --moreversion 2>&-:

Binary i3 version:  4.16.1 (2019-01-27) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.16.1 (2019-01-27) (pid 3490)abort…)
Loaded i3 config: /home/agd/.config/i3/config (Last modified: Tue 11 Jun 2019 01:59:23 PM EDT, 1731 seconds ago)
The i3 binary you just called: /usr/bin/i3
The i3 binary you are running: i3-with-/i3
i3 version: 4.16.1

Additional info:

I have HiDPI screen (Dell XPS 9550) but I run it in 1920x1080 resolution by running
xrandr --output eDP-1 --mode 1920x1080 in my ~/.xprofile using LightDM. I get the same issue when I was not using any display manager but starting i3 from ~/.xinitrc.

I removed my config and started `i3` so that it prompted me to use default config.
Logfile URL: https://logs.i3wm.org/logs/5721521683169280.bz2
- Linux Distribution & Version:  Arch Linux 4.19.49-1-lts (all updates installed)
- Are you using a compositor (e.g., xcompmgr or compton): I have it installed but because I reproduce this issue with the default config, `compton` is never started.

@i3bot i3bot added bug 4.16 labels Jun 11, 2019

@Airblader

This comment has been minimized.

Copy link
Member

commented Jun 11, 2019

These menus are override redirect windows, meaning that i3 is not involved with them whatsoever.

I could imagine this has something to do with focus behavior, but outside of that I wouldn't expect it to be an i3 issue.

@amit112amit

This comment has been minimized.

Copy link
Author

commented Jun 11, 2019

Thank you for the quick reply. I don't see this behavior when I use KDE or Gnome Desktop environments. This only happens when I use i3 (although I haven't tried any other standalone window manager). Also, why does it start working when I open and close a terminal to the side? It makes it appear that the menu windows are not getting some rendering hint or something initially but later on they are able to know where to draw themselves.

Is a File->Open dialog also a override redirect window? In Paraview, I get same behavior when I try to press Ctrl + O. It does not show the file dialog initially but after I open and close a terminal, it works as expected.

Also, in Firefox. Instead of trying Alf + F, if I simply start typing some thing to search in the address bar, the search-suggestions do not show up and if I hit enter the search does not work unless I open and close a terminal. Is it possible that the address-bar / search suggestion drop-down menu are also override redirect windows? (I must add that the issue with the search/address bar in Firefox is not reproducible consistently. Sometimes it works, but many times it does not.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.