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

Position new windows on the same screen as N1, even if that isn't the primary screen #58

Open
jaredly opened this issue Oct 8, 2015 · 15 comments

Comments

@jaredly
Copy link

jaredly commented Oct 8, 2015

I have N1 open on my secondary screen, but when I click "new message" or "manage account" or the "feedback" button, they all appear on my primary screen.
This is rather annoying.

Thanks for an awesome product! I'm excited to use it once the sync has finished ;)

@bengotow
Copy link
Contributor

bengotow commented Oct 9, 2015

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!

@Sunno
Copy link

Sunno commented Oct 23, 2015

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

@grinich
Copy link
Contributor

grinich commented Oct 23, 2015

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

@grinich grinich changed the title On multiple screens, new windows are on the wrong screen Position new windows on the same screen as N1, even if that isn't the primary screen Oct 23, 2015
@alex-bender
Copy link

The same situations as @jaredly has.

@mbilker
Copy link
Contributor

mbilker commented Dec 27, 2015

Does this issue still occur?

@alex-bender
Copy link

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

@mbilker
Copy link
Contributor

mbilker commented Dec 27, 2015

@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?

@alex-bender
Copy link

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.

@mbilker
Copy link
Contributor

mbilker commented Dec 27, 2015

@alex-bender What OS are you again?

@alex-bender
Copy link

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

@mbilker
Copy link
Contributor

mbilker commented Dec 28, 2015

@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":{}}}

@alex-bender
Copy link

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

@jackiehluo
Copy link
Contributor

@jackiehluo
Copy link
Contributor

Another request: #2999

@jackiehluo
Copy link
Contributor

Another request: #3002

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

7 participants