Powertoys: [PT Run] Run is draggable

Created on 7 Oct 2020  ·  6Comments  ·  Source: microsoft/PowerToys

Is it a feature or a bug :)? Not sure if this is flagged already. If so, please close.

ℹ Computer information

  • PowerToys version: v.0.23.0
  • PowerToy Utility: PT Run
  • Running PowerToys as Admin: Yes
  • Windows build number: 1909

📝 Provide detailed reproduction steps (if any)

  1. Press-and-hold the searchbar (where the looking glass icon is)
  2. Move your mouse around

✔️ Expected result

Nothing happens.

❌ Actual result

The window can be dragged around

📷 Screenshots

PT run bug

Issue-Bug Priority-3 Product-Launcher

Most helpful comment

@enricogio No not really, hence the question if it's a (unknown) feature or a bug :).

If it is a feature (which I'm all for) then we should update the UI to make it explicit that it's possible to drag it around, and expand the draggable region.

I think the latest UI elements in Windows 10(X) use the rectangle in the title bar to indicate that the window is draggable. Should be an easy add.

image

All 6 comments

@niels9001
any reason why it should not be draggable?
Beside the fact that it's currently not aware of its position so if you move it to the bottom of the screen the dropdown list is not visible, but that is a minor glitch that we can fix in the future.

@enricogio No not really, hence the question if it's a (unknown) feature or a bug :).

If it is a feature (which I'm all for) then we should update the UI to make it explicit that it's possible to drag it around, and expand the draggable region.

I think the latest UI elements in Windows 10(X) use the rectangle in the title bar to indicate that the window is draggable. Should be an easy add.

image

@enricogio No not really, hence the question if it's a (unknown) feature or a bug :).

If it is a feature (which I'm all for) then we should update the UI to make it explicit that it's possible to drag it around, and expand the draggable region.

I think the latest UI elements in Windows 10(X) use the rectangle in the title bar to indicate that the window is draggable. Should be an easy add.

image

But where should we place it within the launcher ui? We don't have a title bat where we have space for that.

This is chances are legacy from Wox, i don't believe it should be draggable.

https://github.com/microsoft/PowerToys/issues/4576 is an issue asking for it to be settable.

I did some research and found the code that implements this dragging behaviour.
MainWindow.xaml.cs
If it should not be draggable, we can just delete these lines and we're good to go.

Personal opinion: It would be kinda nice to have an option in PowerToys settings to change the position of the window.

@Zotyamester
thank you for looking into this.

Was this page helpful?
0 / 5 - 0 ratings