lawand-dot-io / taskbar

Taskbar
https://lawand.io/taskbar/
32 stars 0 forks source link

Incompatibility with the Easy Resize Move tool #54

Closed davidgross closed 2 months ago

davidgross commented 5 months ago

Describe the bug When I have more than one app open, and I switch between them using the taskbar, it minimizes a window. Example: If I have two apps open, eg: zoom and a browser. And I have the browser focused, and I select zoom, zoom (which is not minimized) will minimize. Also, if I click between the apps, without using the taskbar it minimizes them randomly.

To Reproduce Steps to reproduce the behavior:

  1. open three apps, don't minimize any of them.
  2. use one app, then switch to another, the one you switched to will minimize
  3. click it back open from the button in the task bar (it will open)
  4. click on the app you just unminimized, it will minimize again. (do step 3 and 4 again and it will work, usually)

Expected behavior don't minimize not-minimized windows, when selecting them to bring them into focus.

Screenshots

Desktop (please complete the following information):

Additional context

davidgross commented 5 months ago

This is specific to Taskbar v1.2.1, v1.0.8 does not do this.

lawand-dot-io commented 5 months ago

@davidgross Thanks a lot for reporting this. I tried to reproduce the bug now and I can't. I can go through the code and try to figure out why this is happening, but if you can make a quick screen recording (starting from before you open taskbar) that would be a great help :) In any case I will try to figure out this bug

davidgross commented 5 months ago

Interesting, after downgrading to 1.0.8 and back up to 1.2.1 it's not doing it... If I get it to do it again I'll make a video.

lawand-dot-io commented 5 months ago

That would be very helpful. By the way do you remember if this happened when you just did the upgrade to 1.2.1? There is a known bug where the first time Taskbar is open or the first time you enter a workspace, and there are windows already open, the currently focused window might be incorrectly set, and it only becomes correct after the first window switch. This might be related to that..

davidgross commented 5 months ago

It was a fresh install, I got the MBP, and I installed 1.2.1 from nothing.

lawand-dot-io commented 5 months ago

Ok. Anyway, I will keep this bug open for now and try to investigate it more. I would highly appreciate if you tell me if it happened again and enjoy the new version of Taskbar :)

davidgross commented 5 months ago

So this is still happening, it's super intermittent, so I haven't been able to make a screen recording of it. Because it's my work computer, it's going to take some thinking for me to make a screen recording with my work stuff redacted. It seems to happen more after several sleep-wakeup cycles on the laptop, even if they are all in the same day. And it almost never happens after a reboot for several hours. Once the laptop has slept/hibernated/etc a time or two the odds of the behavior occurring goes up (but is not a guarantee)

lawand-dot-io commented 5 months ago

@davidgross I appreciate that you're giving me some more details. I think I should prioritize this bug and try to figure it out. In the meantime you should probably downgrade to 1.0.8 so that your work is not effected

lawand-dot-io commented 4 months ago

@davidgross are you still using 1.0.8? if so, it's gonna expire in 10 days so I gotta extend 1.0.8 for you

davidgross commented 4 months ago

I am still using 1.0.8, though it's been doing the same behavior the last week or so, so it's not an issue specific a version.

lawand-dot-io commented 4 months ago

@davidgross hmm. perhaps this is the result of some interaction between Taskbar and another app you have running, do you have other apps that manage window or resize them etc?

davidgross commented 4 months ago

That's a good point, I use Better Touch Tool (https://folivora.ai/) and Easy Resize Move (https://github.com/dmarcotte/easy-move-resize). Both do deal with window resizing. BTT does window "snapping" like drag to the side for half screen, drag to the top for maximize, and ERM handles mouse+modifires to move/resize windows. I'll try turning both off tomorrow, and see if that solves the issue. I'm suspicious of BTT now that I think about it.

davidgross commented 4 months ago

Granted, I've been using BTT and ERM for several years, without issue, until I started using Taskbar, so it's some sort of interaction with one (or both) of them with Taskbar.

lawand-dot-io commented 4 months ago

Yeah, the reason I am asking about whether or not there's an interaction is that you said the behavior also happens when you switch between windows by clicking on the windows and not by using their tasks in Taskbar. Another thing you can try is that once the behavior starts happening, you can try to quit Taskbar and try to click between the windows and see if the bug continues to happen.

davidgross commented 4 months ago

Yeah, makes sense, current findings: 1) when it's doing it, quitting taskbar does fix it, until I start it back up (at which time some times starts doing it again, and some times it waits for a while)

2) With BTT and ERM turned off, the issue has not occurred at all. I'm going to try turning BTT back on and see what happens.

davidgross commented 4 months ago

With BTT on, and ERM off, I have not had the behavior, so it's something with ERM and Taskbar.

lawand-dot-io commented 4 months ago

Thanks for all this input, hopefully I'll be able to figure out this bug

lawand-dot-io commented 2 months ago

@davidgross any updates on this? It's really hard to understand the bug without a screen recording. I tried installing the easy resize/move app and running it along with taskbar for the past month and never saw behavior like the one you described. if you have not given up on this, i need a screen recording with mouse clicks shown. thanks

lawand-dot-io commented 2 months ago

another thing that can help is a screenshot of the applications folder to see all the apps that are installed so that i try installing all of them and see if the bug starts happening for me

davidgross commented 2 months ago

@lawand-dot-io I can confirm it's the Easy Resize Move tool fighting with Taskbar, I've had it off/not installed for a while, and not had the issue at all.

If you install ERM and Taskbar and just leave them running for a while, it will start doing the minimizing at app-switch times.

lawand-dot-io commented 2 months ago

@davidgross ok that's great news. I had ERM installed and running alongside Taskbar for a long time and never had any issues. Can you maybe screenshot the ERM menubar menu since it shows exactly how the configurations are. Maybe I need to match your config. Thanks and it's good to hear you continue to use Taskbar without issues

lawand-dot-io commented 2 months ago

Closing this issue and considering Taskbar incompatible with the Easy Resize Move tool