Skip to content

Transparent Window Shows Chrome on drag Windows 7 64 bit #6337

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

Closed
RobTur opened this issue Dec 16, 2017 · 4 comments
Closed

Transparent Window Shows Chrome on drag Windows 7 64 bit #6337

RobTur opened this issue Dec 16, 2017 · 4 comments

Comments

@RobTur
Copy link

RobTur commented Dec 16, 2017

======== TEMPLATE BUG FORM ========

NWJS Version : nwjs-v0.27.0-win-x64
Operating System : Windows 7 64 bit

Expected behavior

<!- What do you think should happen? ->
When creating a transparent window with no frame the app should allow drag without displaying or flashing a white toolbar at top of page

Actual behavior

<!- What actually happens? ->
Randomly, but always with the first drag, the app chrome will flash or display at top. (titlebar) on Windows 7 64 bit and Windows 10. This does not occur on Mac.

How to reproduce

<!-
index.html

html
head
/head
body style="background-color:rgba(0,0,0,0.5);-webkit-app-region: drag"
/body
/html

Package.json
{
"name": "Test",
"main": "index.html",
"version": "0.0.1",
"window": {
"toolbar": false,
"transparent": true,
"frame": false,
"title": "TITLE",
"resizable": false,
"fullscreen": false,
"show": true,
"width": 800,
"height": 700
}
}
/*

Run above configuration and drag the app. On Windows 7 64 bit the title bar displays.

->

@RobTur RobTur changed the title Transparent Window Shows Chrome on restart and drag Transparent Window Shows Chrome on drag Dec 16, 2017
@RobTur RobTur changed the title Transparent Window Shows Chrome on drag Transparent Window Shows Chrome on drag Windows 7 64 bit Dec 16, 2017
@Christywl
Copy link
Contributor

Try on Windows with nwjs-sdk-v0.27.2, the title bar appears with the first drag.

image

Not reproduce on Linux/Mac.

@jtg-gg
Copy link
Member

jtg-gg commented Jan 23, 2018

@RobTur I've made a fix, nwjs/chromium.src#104
waiting Roger Wang to merge and make new build

@rogerwang
Copy link
Member

This is fixed in git and will be available in the next nightly build.

@RobTur
Copy link
Author

RobTur commented Jan 28, 2018

@jtg-gg Works great!
Thank you.

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

4 participants