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

Duplicated REQ_NEW_WINDOW from link #185

Closed
keis opened this issue Jan 26, 2016 · 7 comments
Closed

Duplicated REQ_NEW_WINDOW from link #185

keis opened this issue Jan 26, 2016 · 7 comments

Comments

@keis
Copy link
Member

keis commented Jan 26, 2016

With a simple test page like

 <a href="http://google.com" target="_blank">test</a>

each time you click the link uzbl will send more and more REQ_NEW_WINDOW events. Starting from 1 and increasing by 1 each time so the 5th time you click the link 5 new windows are requested.

@GSI
Copy link
Contributor

GSI commented Jan 26, 2016 via email

keis added a commit to keis/uzbl that referenced this issue Jan 26, 2016
Also claim ownership of temporary web view to avoid glib warning on exit

Fixes uzbl#185
@keis
Copy link
Member Author

keis commented Jan 26, 2016

I don't think so. I have not seen that for a while. There is still a race condition (I think) when starting uzbl the first time when there is no event manager running

@GSI
Copy link
Contributor

GSI commented Jan 26, 2016

I see both quite regularly:

  1. When I restart my system after a crash, uzbl instances start with "[]". I then have to run the command "uzbl-event-manager" once which then allows uzbl to start correctly.
  2. Sometimes when I open a link in a new window, nothing pops up unless I click again - but upon clicking again, both (or more) windows open. Just that some of them open with [] while some open with [Cmd].

@keis
Copy link
Member Author

keis commented Jan 26, 2016

I'm not really sure how to fix 1. I don't think there is a good way to check if we can actually connect to the socket without depending on something like socat for uzbl-browser

I think the duplicate windows should be fixed by #186 if you have some small html snippet that demonstrate the other issues that would be great

@keis keis closed this as completed Jan 27, 2016
@javigazi
Copy link

javigazi commented Apr 5, 2017

** (uzbl-core:27114): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
Commit: e297545
GTK compile: 3.18.9
GTK run: 3.18.9
WebKit compile: 2.14.5
WebKit run: 2.14.5
WebKit2: 1
libsoup compile: 2.52.2
libsoup run: 2.52.2

hello, the problem is relevant, when I open the link from the example, then a duplicate window opens.

EVENT [1544] REQ_NEW_WINDOW 'http://google.com/'
EVENT [1544] REQ_NEW_WINDOW ''

p.s. sorry, for my english

@keis
Copy link
Member Author

keis commented Apr 5, 2017

the second event looks really odd. is it opening an empty window? if so this might be a new issue

@javigazi
Copy link

javigazi commented Apr 6, 2017

create #369

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

No branches or pull requests

3 participants