Skip to content

Unable to significantly change window size while editing project #1029

@JFritzle

Description

@JFritzle

Describe the bug

Without success, I am trying to make QMS toplevel window significantly bigger to see more within project's diary editor. As soon as I touch a window corner/edge for resizing, dialog window "Build diary ..." re-opens, allowing me to resize window only very, very slightly larger. Even more, after dialog window "Build diary ..." has closed, it immediately re-opens a second time when clicking toplevel window's title bar for moving QMS around on display.

What have you done to circle down the problem?

Issue is due to window manager's option Show window contents while dragging enabled.
If not explicitely disabled, this option is by default enabled by Windows and at least by most modern Linux window managers (Gnome, KDE, Xfce, ...) too.

On platform Windows this global option is to be found and can get customized in Performance Options with elevated privileges:
Image

Enabled option causes resize events to be fired to application while grabbing resize corner or edge until releasing grab. Window manager's intension is to improve visibility experience by updating window's content smoothly while resize is in progress.

As opposed to (most?) Linux window managers, Windows window manager fires much faster and more frequently. Consequence: QMS gets next resize event while updating diary is still in progress, causing immediately to restart diary update while window size has only changed minimally.

This is no problem, if project is rather small and building diary takes only moments. But it is a huge problem, where building diary takes several seconds.

To Reproduce

  1. Import attached project
  2. Right-click project to edit -> diary gets created
  3. Wait until diary tab is ready
  4. Grab window edge/corner and try to significantly increase window size
  5. Notice that it is at least on platform Windows nearly impossible.

Expected behavior

I expect to be able to significantly change window size while editing project.

Screenshots

Attachments

Tauernradweg.zip

On my 15 year old Windows PC, building diary of attached project takes about 25 seconds.
If issue can not get reproduced on someone's modern PC, I recommend to add to project a reverse track of each of 7 included tracks. Having added these 7 reverse tracks, building diary on my PC takes about 5 minutes.

Tracebacks

Desktop

  • OS: in particular Windows
  • QMapShack Version: current
  • Window Manager: -

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions