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

Bad behavior at intersection of i3 + Chrome + Jenkins #3098

Closed
dragon788 opened this Issue Dec 23, 2017 · 7 comments

Comments

Projects
None yet
3 participants
@dragon788

dragon788 commented Dec 23, 2017

Output of i3 --moreversion 2>&- || i3 --version:

Will come back and update this with version once I'm at my work PC again.

URL to a logfile as per https://i3wm.org/docs/debugging.html:

Will come back and update this with logs once I'm at my work PC again.

What I did:

Laptop setup with a docking station and 3x external displays. Far left is "unbound" workspaces, ie when I am undocked they are all present/available, middle and right monitors are "output specific" workspaces that will fall back to the laptop display if undocked, but aren't normally created/accessible when not docked.

What I saw:
What I'm seeing is that if I attempt to navigate to another page in a browser tab (currently Chrome) and the current tab is navigated to a Jenkins instance and the session has timed out, it (apparently) throws a dialog window somewhere that prevents any further interaction with the Chrome window on that workspace, even though other instances of Chrome on other workspaces work fine. Typically I'm on my far right workspace when this happens, but I've also observed it on the middle monitor, the far left is typically my terminal so I rarely open a browser over there.

I am fairly confident it is a popup as when I move my mouse to another monitor the workspace I just left flashes crazily requesting attention (alerts). Once it gets into this state I have to hit Esc to cancel whatever invisible dialog is taking focus without being visible, and I can repeatably get into the state by attempting to close the tab or navigate to another page within the tab. The only way I can actually close the tab without triggering the state is by killing it via the Chrome Task Manager first, then since the page goes to "Something went wrong" I can close and reopen the tab and be correctly prompted to login without getting hung.

What I expected instead:
i3 should bring to the front whatever is alerting and requesting focus so I can interact with it, as this is really a hard to exit situation if you only have a single workspace and can't see why you aren't able to do anything.

@i3bot

This comment has been minimized.

Show comment
Hide comment
@i3bot

i3bot Dec 23, 2017

I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

i3bot commented Dec 23, 2017

I don’t see a link to logs.i3wm.org. Did you follow https://i3wm.org/docs/debugging.html? (In case you actually provided a link to a logfile, please ignore me.)

@i3bot i3bot added the missing-log label Dec 23, 2017

@i3bot

This comment has been minimized.

Show comment
Hide comment
@i3bot

i3bot Dec 23, 2017

I don’t see a version number. Could you please copy & paste the output of i3 --version into this issue?

i3bot commented Dec 23, 2017

I don’t see a version number. Could you please copy & paste the output of i3 --version into this issue?

@Airblader Airblader added the bug label Dec 25, 2017

@Airblader

This comment has been minimized.

Show comment
Hide comment
@Airblader

Airblader Dec 25, 2017

Member

The application not being responsive in this case is entirely the application's fault; the popup opening so much off-screen is something we should at least look into, but we'll need clean logs for that. And also your version.

Member

Airblader commented Dec 25, 2017

The application not being responsive in this case is entirely the application's fault; the popup opening so much off-screen is something we should at least look into, but we'll need clean logs for that. And also your version.

@dragon788

This comment has been minimized.

Show comment
Hide comment
@dragon788

dragon788 Jan 26, 2018

Sorry, I'd almost forgotten about this once I discovered there was kind of a workaround.
Binary i3 version: 4.14.1 (2017-09-24)
I've run into this a few times now by simply having any site that has Javascript the blocks page navigation if a form is partially filled out and not "saved" or submitted. Most recently https://tik.ly did the same thing to me until I removed all entered text. It seems like I can trigger it consistently in Chrome, I'll have to try in Firefox. I have a feeling what may be happening is that Chrome doesn't give the window/dialog correct properties if it's a function of the page, and that's why it ends up behind the foreground window. I haven't checked the key bindings, but is there a "foreground/background" option or does that only apply to floating windows?

dragon788 commented Jan 26, 2018

Sorry, I'd almost forgotten about this once I discovered there was kind of a workaround.
Binary i3 version: 4.14.1 (2017-09-24)
I've run into this a few times now by simply having any site that has Javascript the blocks page navigation if a form is partially filled out and not "saved" or submitted. Most recently https://tik.ly did the same thing to me until I removed all entered text. It seems like I can trigger it consistently in Chrome, I'll have to try in Firefox. I have a feeling what may be happening is that Chrome doesn't give the window/dialog correct properties if it's a function of the page, and that's why it ends up behind the foreground window. I haven't checked the key bindings, but is there a "foreground/background" option or does that only apply to floating windows?

@i3bot i3bot added 4.14 and removed missing-version labels Jan 26, 2018

@dragon788

This comment has been minimized.

Show comment
Hide comment
@dragon788

dragon788 Jan 26, 2018

I'll see about restarting with logging enabled after work today, and hopefully remember before I fill my disk. :-D

dragon788 commented Jan 26, 2018

I'll see about restarting with logging enabled after work today, and hopefully remember before I fill my disk. :-D

@Airblader

This comment has been minimized.

Show comment
Hide comment
@Airblader

Airblader Jan 26, 2018

Member

I'm fairly certain you're probably seeing #2736

Member

Airblader commented Jan 26, 2018

I'm fairly certain you're probably seeing #2736

@dragon788

This comment has been minimized.

Show comment
Hide comment
@dragon788

dragon788 Jan 26, 2018

That sounds exactly right, I'll go subscribe to that one. ;)

dragon788 commented Jan 26, 2018

That sounds exactly right, I'll go subscribe to that one. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment