Giter VIP home page Giter VIP logo

Comments (16)

ChrisAnd1998 avatar ChrisAnd1998 commented on May 23, 2024

What happens when you click "Restart Explorer" in FalconX?

And how about this testing build?
https://chrisandriessen.nl/web/downloads/falconx/Testing/FalconX_TESTING_1.2.6.0_v4.zip

from taskbarx.

moe-sc avatar moe-sc commented on May 23, 2024

Both poorly didn`t change anything.

from taskbarx.

ChrisAnd1998 avatar ChrisAnd1998 commented on May 23, 2024

Hmm, strange.
I also have my main screen on the second screen but i dont have this issue, even when i start changing it up.

I will try to reproduce this bug and fix it.

from taskbarx.

moe-sc avatar moe-sc commented on May 23, 2024

I figured, too much information will be better than to little, so more things i figured out when having before mentioned setup.

When using "Center between Toolbars", the icons sit to far to the left (instead of the right), but just a little bit.
FalconXIssueCenterBetToolbars

Also, when setting a Custom Offset, the icons move in the other direction.
So if you put in a positive number, they will move to the left and not the right.

from taskbarx.

v-rogg avatar v-rogg commented on May 23, 2024

So I did a bit of testing.
By disabling the animation (none and 1s) I got it to work and center perfectly on all taskbars. By enabling animations it seems like it overshoots and ends too soon.
Also sometimes I have to wait for >10seconds until there is a refresh and it center the icons.
This might not be the right issue for it, but I think it might be connected.

from taskbarx.

ChrisAnd1998 avatar ChrisAnd1998 commented on May 23, 2024

Thanks for testing it out :)
I am currently going through every bit of code, take the best and do a whole rewrite.

from taskbarx.

v-rogg avatar v-rogg commented on May 23, 2024

I debugged for the last few hours and read into your code.
The calculation seems to give correct results. Im currently using two monitors. When both taskbar widths change (I move a window from one screen to another) a Taskbar Calculate occurs followed by a Taskbar Update. When only my second taskbar width changes, because a programm is pinned to my main taskbar, a Taskbar Calculate occurs giving the right values but NO Taskbar Update occurs. I further looking into it.

from taskbarx.

ChrisAnd1998 avatar ChrisAnd1998 commented on May 23, 2024

How about this rewrite? Its very empty right now but, should do its job.
http://chrisandriessen.nl/tests/Debug.zip

You can close it with taskmanager.

from taskbarx.

v-rogg avatar v-rogg commented on May 23, 2024

Seems like it got the same problem with pinned programs.

When I move a window from where it is pinned to a different taskbar. There is no update. (Display 1 (Windows Main Display) -> Display 2)
When I move a window to where it is pinned the taskbar it came from updates but the target taskbar (main taskbar with pinned) goes to position 0. (Display 2 -> Display 1 (Windows Main Display))

When I switch my Windows Main Display from 1 to 2. I get the same issue but the other way around.
So Display 2 (Windows Main Display) -> Display 1 gets the Main Taskbar position 0 bug.
Display 1 -> Display 2 (Windows Main Display) gets no update.

Can you reproduce the issue?

The reaction speed is a big improvement though, it changes instantly. x3 took quite some time.

If you give me access to your x4 I will try to debug the pinned programs issue. Otherwise I'll try to fix it in x3, it might be transferable to x4 then.

from taskbarx.

ChrisAnd1998 avatar ChrisAnd1998 commented on May 23, 2024

I forgot to mention that the current build only updates when a new icon gets added. Not when the resolution, display or anything else changed.

I was hoping it now brings you taskbars to the right positions.

Currently it's not possible to build the application because, everything is opened up now but, i will send it when its ready. The 0 position bug is just a redraw by the taskbar and can easly be fixed.

Thanks for taking the effort to fix this :)

from taskbarx.

v-rogg avatar v-rogg commented on May 23, 2024

Ah okay. When it updates it centers perfectly.
Thanks for your work with this project.

from taskbarx.

ChrisAnd1998 avatar ChrisAnd1998 commented on May 23, 2024

Here is a more complete version but not done yet.
https://chrisandriessen.nl/web/downloads/falconx/?dir=Testing

from taskbarx.

v-rogg avatar v-rogg commented on May 23, 2024

I just tested the new version. Im guessing you still only update when there is a new icon added.
I tested all the animations. Technically all work (besides None, but Im guessing you haven't implemented it yet) altough most overshoot (mainly INs) or undershoot (mainly OUTs) at the animation speed 100ms. For some 500ms is enough to look good others need ~1000ms. All center perfectly after the animation. This is probably a common calucaltion problem as you are stepping over or under your target.
The Transparant Taskbar works aswell.
Center between Toolbars doesnt. Only one taskbar changes and it isn't centered between the toolbars.
Besides all this I'm already loving the new version. It feels really snapy :D

from taskbarx.

ChrisAnd1998 avatar ChrisAnd1998 commented on May 23, 2024

Thanks for testing it so quickly :)

I indeed still have to add a none animation. And the "center between toolbars" is also broken on my side but, i will fix that. The problem with the animations is that they some times don't stop when they are on the calculated position. I have added a position check for if its not at the right position to compensate it but, i will dig deeper into that.

I am happy it finally works!

from taskbarx.

v-rogg avatar v-rogg commented on May 23, 2024

Keep up the good work!
Im really looking forward to the final version. I also like the new layout.

And the animation problem is probably because f.e. the animation steps at the rate of 1 -> 2 -> 4 -> 8 -> 16 etc. when you are at a step rate higher the missing pixels you overshoot and the animation ends after the calculated point. Same problem in the other direction. By getting a rate of 2 -> 1 -> 0.5 -> .25 you can basically never reach you goal. This problem is only visible for small animation times as the final steps are in general bigger/smaller as they would be if the animation time would be longer. Im not really sure if there is an easy way to fix this besides either locking small animation speeds for certain problematic animation types or placing a warning message that there might occur a "visual bug" if the animation time is too low.

from taskbarx.

ChrisAnd1998 avatar ChrisAnd1998 commented on May 23, 2024

Allright, i released version 1.2.8.0 :)

from taskbarx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.