Git Product home page Git Product logo

Comments (15)

bengotow avatar bengotow commented on May 5, 2024

Hey @jaredly thanks for downloading N1. This is definitely something I've been feeling as well. It looks like we're specifying a width and height for new windows, but not positioning them. (Though the feedback one we actually are trying to position above the button—that's interesting...) Will check it out!

from nylas-mail.

Sunno avatar Sunno commented on May 5, 2024

I actually have that issue with single screen it appears in top left postition, half of the window is hidden and I cannot move it

image

from nylas-mail.

grinich avatar grinich commented on May 5, 2024

@Sunno that top-right issue should be fixed as of today's update

from nylas-mail.

alex-bender avatar alex-bender commented on May 5, 2024

The same situations as @jaredly has.

from nylas-mail.

mbilker avatar mbilker commented on May 5, 2024

Does this issue still occur?

from nylas-mail.

alex-bender avatar alex-bender commented on May 5, 2024

I can not reproduce. "new message" window appears left aligned on the horizontal center of the screen.

from nylas-mail.

mbilker avatar mbilker commented on May 5, 2024

@alex-bender Do you have multiple monitors? If so, when you say left aligned on the horizontal center, do you mean between the multiple screens?

from nylas-mail.

alex-bender avatar alex-bender commented on May 5, 2024

Yes, I have multiple monitors. And yes, it is between the screens. But I just realized that couple weeks ago I have swap prime and secondary monitors. So for now "new message" window appears on primary screen, doesn't matter where is the main window of Nyla's situated. Tomorrow I will install latest version and try again.

from nylas-mail.

mbilker avatar mbilker commented on May 5, 2024

@alex-bender What OS are you again?

from nylas-mail.

alex-bender avatar alex-bender commented on May 5, 2024

Firstly OS:
$ uname -a Linux bender 3.19.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
After some time of testing here are what I got:
Main Nylas window opening at its last position. "New message" window -- at the screen where application launcher is. (Gnome 2)
I have downloaded deb package from download page.
Previous version removed with dpkg -r nylas
Nylas version from menu is 0.3.32-b11131d

from nylas-mail.

mbilker avatar mbilker commented on May 5, 2024

@alex-bender Hey, the window will open in its last state because of ~/.nylas/main-window-state.json which contains something like:

{"version":1,"windowDimensions":{"x":1282,"y":16,"width":1916,"height":1044,"maximized":false},"packageStates":{"attachments":{},"composer":{},"composer-signature":{},"composer-spellcheck":{},"events":{},"message-list":{},"notification-mailto":{},"notifications":{},"preferences":{},"sidebar-fullcontact":{},"tooltip":{},"undo-redo":{},"message-autoload-images":{}}}

from nylas-mail.

alex-bender avatar alex-bender commented on May 5, 2024

I haven't ~/.nylas/main-window-state.json file.

from nylas-mail.

jackiehluo avatar jackiehluo commented on May 5, 2024

From #2839: https://github.com/electron/electron/blob/master/docs/api/screen.md#screengetprimarydisplay

from nylas-mail.

jackiehluo avatar jackiehluo commented on May 5, 2024

Another request: #2999

from nylas-mail.

jackiehluo avatar jackiehluo commented on May 5, 2024

Another request: #3002

from nylas-mail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.