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

Unable to snap window to half-screen #831

Closed
irogers opened this issue Mar 6, 2021 · 9 comments
Closed

Unable to snap window to half-screen #831

irogers opened this issue Mar 6, 2021 · 9 comments
Labels
needs more info ℹ️ Issue requires more information from the issue's reporter.

Comments

@irogers
Copy link

irogers commented Mar 6, 2021

Current behavior

Super + up/down minimizes and maximises window, but currently unable to snap window to half-screen.

Expected behavior

Use Super + left/right to snap window to half-screen.

Environment

Desktop

  • Boost Note.next version: 0.13.2 AppImage
  • OS version and name: Ubuntu 20.04
@Komediruzecki
Copy link
Contributor

Komediruzecki commented Mar 6, 2021

Hi irogers,

Can you provide more details or show what would your expectation look like if you use Super + left/right?

As I see in my Boost Note, Super/WinKey + left/right is used for snapping the app to half the size on left or right part of the screen.

Do you mean to snap it half of the window size on top and bottom instead?

@irogers
Copy link
Author

irogers commented Mar 7, 2021

Hi Komediruzecki,

As I see in my Boost Note, Super/WinKey + left/right is used for snapping the app to half the size on left or right part of the screen.

This is exactly what I am expecting, but nothing happens when I use Super + left/right

@Komediruzecki
Copy link
Contributor

Komediruzecki commented Mar 7, 2021

Hi Komediruzecki,

As I see in my Boost Note, Super/WinKey + left/right is used for snapping the app to half the size on left or right part of the screen.

This is exactly what I am expecting, but nothing happens when I use Super + left/right

Hi irogers,

Okay, so since we are using same Linux distribution, I can only assume it might be some keymap differences on your machine.
I am actually using deb package for Boost Note but tried with AppImage and it behaves correctly too.

Can you check if your shortcuts are bound correctly in Ubuntu settings page (see image below)?
image

Also you might have some other desktop manager which could be the issue, try going through this:
https://askubuntu.com/questions/1048693/how-can-i-snap-a-window-in-a-corner-with-18-04, https://askubuntu.com/questions/821954/ctrl-super-left-right-not-working-in-ubuntu-16-04

Can you snap other windows (besides boost note) with the same shortcut?

@irogers
Copy link
Author

irogers commented Mar 8, 2021

Hi Komediruzecki,

I have double checked those keymap settings are as you have displayed, and yes I can snap windows of other applications fine, just not boostnote.

@irogers
Copy link
Author

irogers commented Mar 10, 2021

Hi @Komediruzecki,

Further information on this. Snapping to half-window does not work when I have "Auto-hide Dock" disabled.

image

If I switch the toggle and enable auto-hiding Super + left/right works fine

@Komediruzecki
Copy link
Contributor

Hi, irogers,

Sorry for waiting,

I tried the auto-hide dock option and it works either way for me.
It must be that some settings are interfering.

Can you try the latest release? I was using the latest release but also tried with 0.13.2 and it works in there too.

@irogers
Copy link
Author

irogers commented Mar 14, 2021

Hi Komediruzecki,

Thanks for checking it out. Yes, I am still seing the same behaviour with the latest release.

@Komediruzecki
Copy link
Contributor

Komediruzecki commented Mar 14, 2021

It seems that the only possible thing is that the OS/some other app is having those as shortcuts, dunno why it would not work for you. Maybe it's somehow connected to that auto dock hide, we should investigate the correct version of Ubuntu, electron and other things that might be affecting this

@Rokt33r
Copy link
Member

Rokt33r commented Aug 20, 2021

I've tested too but I couldn't reproduce this issue neither. I think it should be caused by your desktop environment configuration or other processes.

@Rokt33r Rokt33r closed this as completed Aug 20, 2021
@Rokt33r Rokt33r added the needs more info ℹ️ Issue requires more information from the issue's reporter. label Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info ℹ️ Issue requires more information from the issue's reporter.
Projects
None yet
Development

No branches or pull requests

3 participants