PortionOfScreen icon indicating copy to clipboard operation
PortionOfScreen copied to clipboard

feat: added Focus Mode

Open egonl opened this issue 10 months ago • 6 comments

When Focus Mode is enabled, Portion of Screen will automatically position itself over the currently focused window.

Focus Mode can be enabled in the Options dialog, which is available in the System Menu.

egonl avatar Apr 10 '24 23:04 egonl

following the focus ✅ resizing the focused window ✅ multi monitor, different scaling ❌ ignoring very small window size ✅

dodjango avatar Apr 12 '24 15:04 dodjango

⚠️ right click to open the options does not work. If you like, see this commit: https://github.com/dodjango/PortionOfScreen/commit/6cccc17e6467de4899d5d052bfad36a67a34894a

dodjango avatar Apr 12 '24 15:04 dodjango

Right click isn't needed anymore, as there's now an Options menu: image

egonl avatar Apr 12 '24 18:04 egonl

The PR description still says right click, therefore I mentioned it.

dodjango avatar Apr 12 '24 20:04 dodjango

Updated description. I'm struggling with the scaling issue atm.

egonl avatar Apr 12 '24 21:04 egonl

Some thoughts on how this is working so far:

  • I actually preferred the 'snappier' behaviour prior to #b466034
  • Perhaps a special exception for the Alt-Tab and Win-Tab windows switchers, for privacy (these are shared along with general desktop when active) - could share a 1x1 black rectangle (or 0x0 if possible?), or some kind of privacy placeholder, or blur/pixelate instead.
  • When the window border extends behind the task bar, the task bar is shown. It would be good if there was a check for window pos extending below taskbar height, and if so only drawing to there instead of screen edge.
  • Can AUTO_REMOVE_CAPTION trigger based on whether PortionOfScreen is focused or not, rather than a timer?

It is working though, and I'm already looking forward to how much less frustrating meetings will be. Thanks!

Bzly avatar Apr 29 '24 23:04 Bzly