Issue 159329 in chromium: PDF viewer steals focus

111 views
Skip to first unread message

chro...@googlecode.com

unread,
Nov 3, 2012, 8:29:20 PM11/3/12
to chromi...@chromium.org
Status: Unconfirmed
Owner: ----
Labels: Pri-2 Via-Wizard Type-Bug OS-Linux

New issue 159329 by michael....@gmail.com: PDF viewer steals focus
http://code.google.com/p/chromium/issues/detail?id=159329

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML, like
Gecko) Chrome/22.0.1229.94 Safari/537.4

Steps to reproduce the problem:
1. Open Chromium and navigate to
http://www.maths.utas.edu.au/People/Yuliya/KMA356/lecturenotes/KMA356_lecture21.pdf
2. Change focus to another tab, window or application while waiting for it
to load
3. Focus is stolen by the PDF tab when the alert is given

What is the expected behavior?
Alert appears in PDF but does not take focus until user returns to that tab.

What went wrong?
An alert in a PDF steals focus from other activities in chromium or in the
OS.

Did this work before? N/A

Chrome version: 22.0.1229.94 Channel: n/a
OS Version: Arch

If you open multiple PDFs which each have this issue only the first alert
will steal focus, others are subsidiary to that.

chro...@googlecode.com

unread,
Jun 1, 2014, 9:41:53 AM6/1/14
to chromi...@chromium.org

Comment #1 on issue 159329 by craig.wa...@gmail.com: PDF viewer steals focus
http://code.google.com/p/chromium/issues/detail?id=159329

The original link is unfortunately broken but I was able to reproduce this
with a slightly modified [1] PDF [2]. I have attached 3 files to the issue,
to reproduce:

1. Open 159329.html
2. Open "pdf link" in new tab
3. Focus is stolen from 159329 page [expect focus to remain on this page]

This issue is related to Issue 3531.

[1]
http://blog.rsmoorthy.net/2012/01/add-javascript-to-existing-pdf-files.html
[2]
http://www.planetpdf.com/developer/article.asp?ContentID=javascript_displaying_an_ale

Attachments:
159329.html 139 bytes
159329.pdf 5.3 KB
alert.html 111 bytes

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

chro...@googlecode.com

unread,
Jun 1, 2014, 2:12:06 PM6/1/14
to chromi...@chromium.org
Updates:
Labels: Cr-Internals-Plugins-PDF Cr-UI-Browser-TabContents

Comment #2 on issue 159329 by rsl...@chromium.org: PDF viewer steals focus
http://code.google.com/p/chromium/issues/detail?id=159329

(No comment was entered for this change.)

chro...@googlecode.com

unread,
Jun 1, 2014, 2:14:03 PM6/1/14
to chromi...@chromium.org
Updates:
Status: Duplicate
Mergedinto: 3531

Comment #3 on issue 159329 by rsl...@chromium.org: PDF viewer steals focus
Reply all
Reply to author
Forward
0 new messages