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

bugs in frameless window #1168

Closed
zh99998 opened this issue Oct 2, 2013 · 4 comments
Closed

bugs in frameless window #1168

zh99998 opened this issue Oct 2, 2013 · 4 comments

Comments

@zh99998
Copy link

zh99998 commented Oct 2, 2013

i'm building a frameless node-webkit app and found some bugs:

  1. i have a frameless window, and i add 【-webkit-app-region: drag;】 to some elements to drag window and double-click maximize.
    but once it maximized, the drag elements don't work any more. i can't get window unmaximized.
  2. focus/blur event can't trigger.
  3. maybe same problem as 2. i have a element with hover css, when i hover that element then move mouse out of window, that element still shown as hover.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Mithgol
Copy link
Contributor

Mithgol commented Oct 2, 2013

The third of these bugs may (or may not) be a duplicate of issue #170, depending on your operating system (which you haven't mentioned).

@zh99998
Copy link
Author

zh99998 commented Oct 2, 2013

4 system minimize / unminimize animation is missing.

my os is windows

zhchbin added a commit to zhchbin/node-webkit that referenced this issue Oct 13, 2013
…art of nwjs#1168.

This feature is broken by commit da2b25c.

TEST=1. Run the nw-sample-apps\frameless-window;
            2. Show the titlebar by cliking "Top Titlebar"
            3. Double click the maximize the windows.
            4. Double click the tilte bar should be able to unmaximize the window.
@mvanderw
Copy link

For now, as a workaround for ♯2 you could try using window.onfocus and window.onblur instead of the native nw methods.

I noticed ♯3 and ♯4 also manifest in Chrome App Store apps.

@rogerwang
Copy link
Member

This should be working with latest 0.13 version now.

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

No branches or pull requests

4 participants