-
Notifications
You must be signed in to change notification settings - Fork 849
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
Update dependencies #459
Update dependencies #459
Conversation
Thanks @yuya-oc! Did some initial testing: it looks like the desktop app UI looks a bit blurry on Windows 10. Also the server tab bar is significantly larger I'll continue testing and report back any other issues, but so far looks good otherwise. No issues during installation and nothing with the context menu so far |
Thanks for testing. Would you write the DPI you are using? |
This reverts mattermost#384 (f60d1fe). Blur was a known side effect of mattermost#384 though, the original problem looks fixed in electron v1.6.1.
Reproduced for me. SizeHowever strangely enough, it seems that the new one is correct. https://circleci.com/gh/yuya-oc/desktop/180#artifacts BlurOn the other hand, the blur was a known side effect of #384. So I tried reverting #384. The original problem, confused cursor looks fixed. |
I can confirm both above in Windows 10, for DPI of 100-175%, on the artifact from https://circleci.com/gh/yuya-oc/desktop/181#artifacts So there's no issues. Interesting that the 125% level was actually always incorrect. One thing that comes to mind (which would be separate from this PR) is whether we should reduce the size of the tabs vertically? Now that the size is correct at 125%, I feel it's taking a lot of space at the top. |
(and still no issues with installation or the context menu that I could find) |
In Electron, Chromium was upgraded from
Not so bad. However to implement for the specific scaling would be hard to manage source codes in future. I think the new height should be applied for all scaling. |
Actually, if I compare at 100% screen size, there is a significant difference for me on Windows 10. Same with other screen sizes. Artifact: https://circleci.com/gh/yuya-oc/desktop/181#artifacts I still feel it's a bit blurry but I have a hard time seeing a difference from v3.6.0 |
Ah, I agree about reducing tab height. What I wanted to mean is, something like "when 100%, 125%, 150%..." is not appropriate. They should have same height on the source code (by measuring, currently it's 42px). For example, how about using Chrome's tab height? And then, I have found a reason why it's still a bit blurry at 125%. A webview is located at 42px height below the top of content area. Actually 42px become 52.5 physical dots on a monitor. Of course "0.5 dots" don't exist on a monitor, so Electron makes the appearance blurry. I feel we should take another issue to track this as you had proposed. |
Yeah, sounds good to me. Happy to create a separate issue for 3.7 If we match the height to be exactly the same as Chrome's tab height, will that also fix the blurriness (will there be an extra "0.5 dots" on a monitor? This PR is otherwise good to merge. |
Not same. Actually it would be a similar height compared to Chrome. The height must be an integer after multiplying the scale factor. Thanks for many feedback! |
Sounds good, created a new issue in #462. Thanks! |
The application now respects 125% of display scaling by upgrading Electron via #459
Before submitting, please confirm you've
npm run lint:js
for proper code formattingPlease provide the following information:
Summary
Update dependencies, libraries and tools.
Significant changes:
Issue link
#458
Test Cases
Tested on macOS 10.12 and Ubuntu 16.04 Unity
Additional Notes
https://circleci.com/gh/yuya-oc/desktop/180#artifacts