Bug with static all toolbar and problem with scrolling

Please post any bugs or technical issues found here for official support.

Moderators: Jason Petho, Campaign Series Matrix Edition Development Group

Post Reply
User avatar
Plodder
Posts: 974
Joined: Mon Jul 28, 2003 3:56 pm
Location: New Zealand

Bug with static all toolbar and problem with scrolling

Post by Plodder »

(Updated to the new beta)

When you set the toolbar to static all, the circled buttons have the wrong images for their function, the mouseover tip is correct for the actual function.
toolbar.JPG
toolbar.JPG (72.71 KiB) Viewed 136 times
Also, I find the scrolling when using a top & bottom dual screen set up very annoying. I have the main game screen on my top monitor and when moving the mouse to the bottom screen (to read the manual for instance) the game will keep scrolling. It doesn't make a difference if I set to window or screen edge. Is there something that could be done about that?
Gen. Montgomery: "Your men don't salute much."
Gen. Freyberg: "Well, if you wave at them they'll usually wave back."
User avatar
Jason Petho
Posts: 17396
Joined: Tue Jun 22, 2004 10:31 am
Location: Terrace, BC, Canada
Contact:

Re: Bug with static all toolbar and problem with scrolling

Post by Jason Petho »

Thank you for these! I don't think I ever tried the static display. Bad on me!

We will have to look into them deeper.
User avatar
Crossroads
Posts: 18124
Joined: Sun Jul 05, 2009 8:57 am

Re: Bug with static all toolbar and problem with scrolling

Post by Crossroads »

Plodder wrote: Wed Apr 16, 2025 6:08 am (Updated to the new beta)

When you set the toolbar to static all, the circled buttons have the wrong images for their function, the mouseover tip is correct for the actual function.
toolbar.JPG
Oh wow, thank you for bringing this to our attention. I have not used the Static toolbar since ages either. Having checked this with older versions, it has been around at least since VN 1.30 (and ME 2.30) from March 2023. Edit: yep, that's when those speed buttons made their apperance. 1.23, the previous version, does not have them, and the Static toolbar is WAD there.

I have an overall goal of making the game easier to setup and I am also looking to deprecate some earlier options that have been around and perhaps not used. You are obviously using the Static toolbar option, how would you feel if it would be deprecated in the next version?

Maintaining all the old code is quite a task, and I'd really like to make them simpler, and to have more time to create new features... An honest question though. Is this a "must have" for you?
Plodder wrote: Wed Apr 16, 2025 6:08 am Also, I find the scrolling when using a top & bottom dual screen set up very annoying. I have the main game screen on my top monitor and when moving the mouse to the bottom screen (to read the manual for instance) the game will keep scrolling. It doesn't make a difference if I set to window or screen edge. Is there something that could be done about that?
I hear you, and per above, I have been thinking about deprecating the Window Edge scroll option as well, mainly for the reason that it is broken. It is not possible to target for firing when using the option. The only solution for now for dual monitor use would be to use the Scroll bars options though. Would that work for you?
Visit us at: Campaign Series Legion
---
CS: Vietnam 1948-1967 < v2.00.01 Remastered Edition (2.00.02 Public Beta now available)
CS: Middle East 1948-1985 < v3.00.01 Remastered Edition (3.00.02 Public Beta now available)
User avatar
Crossroads
Posts: 18124
Joined: Sun Jul 05, 2009 8:57 am

Re: Bug with static all toolbar and problem with scrolling

Post by Crossroads »

Crossroads wrote: Fri May 02, 2025 5:01 pm Oh wow, thank you for bringing this to our attention. I have not used the Static toolbar since ages either. Having checked this with older versions, it has been around at least since VN 1.30 (and ME 2.30) from March 2023. Edit: yep, that's when those speed buttons made their apperance. 1.23, the previous version, does not have them, and the Static toolbar is WAD there.

I have an overall goal of making the game easier to setup and I am also looking to deprecate some earlier options that have been around and perhaps not used. You are obviously using the Static toolbar option, how would you feel if it would be deprecated in the next version?

Maintaining all the old code is quite a task, and I'd really like to make them simpler, and to have more time to create new features... An honest question though. Is this a "must have" for you?
Never mind, I located the code where the buttons are assigned their functions, this was an easy fix to have them point to their correct implementations. I will keep the "Static All" option around, despite that it likely has not been used much.

This has been fixed and will be available in the planned late summer 2.10 Update.

Thank you for reporting this, again!
Visit us at: Campaign Series Legion
---
CS: Vietnam 1948-1967 < v2.00.01 Remastered Edition (2.00.02 Public Beta now available)
CS: Middle East 1948-1985 < v3.00.01 Remastered Edition (3.00.02 Public Beta now available)
User avatar
Plodder
Posts: 974
Joined: Mon Jul 28, 2003 3:56 pm
Location: New Zealand

Re: Bug with static all toolbar and problem with scrolling

Post by Plodder »

Sorry forgot to reply to this.
Crossroads wrote: Fri May 02, 2025 5:01 pm
Plodder wrote: Wed Apr 16, 2025 6:08 am Also, I find the scrolling when using a top & bottom dual screen set up very annoying. I have the main game screen on my top monitor and when moving the mouse to the bottom screen (to read the manual for instance) the game will keep scrolling. It doesn't make a difference if I set to window or screen edge. Is there something that could be done about that?
I hear you, and per above, I have been thinking about deprecating the Window Edge scroll option as well, mainly for the reason that it is broken. It is not possible to target for firing when using the option. The only solution for now for dual monitor use would be to use the Scroll bars options though. Would that work for you?
Not really. Scroll bars are a pain. Couldn't you have a hotkey or something that makes the mouse loses focus on the game window so the user can go to another window?
Crossroads wrote: Sun May 04, 2025 7:50 am
Crossroads wrote: Fri May 02, 2025 5:01 pm Oh wow, thank you for bringing this to our attention. I have not used the Static toolbar since ages either. Having checked this with older versions, it has been around at least since VN 1.30 (and ME 2.30) from March 2023. Edit: yep, that's when those speed buttons made their apperance. 1.23, the previous version, does not have them, and the Static toolbar is WAD there.

I have an overall goal of making the game easier to setup and I am also looking to deprecate some earlier options that have been around and perhaps not used. You are obviously using the Static toolbar option, how would you feel if it would be deprecated in the next version?

Maintaining all the old code is quite a task, and I'd really like to make them simpler, and to have more time to create new features... An honest question though. Is this a "must have" for you?
Never mind, I located the code where the buttons are assigned their functions, this was an easy fix to have them point to their correct implementations. I will keep the "Static All" option around, despite that it likely has not been used much.

This has been fixed and will be available in the planned late summer 2.10 Update.

Thank you for reporting this, again!
I was actually just trying out the different options and noticed this but thanks for fixing.
Gen. Montgomery: "Your men don't salute much."
Gen. Freyberg: "Well, if you wave at them they'll usually wave back."
User avatar
Crossroads
Posts: 18124
Joined: Sun Jul 05, 2009 8:57 am

Re: Bug with static all toolbar and problem with scrolling

Post by Crossroads »

Plodder wrote: Tue May 06, 2025 6:24 am Not really. Scroll bars are a pain. Couldn't you have a hotkey or something that makes the mouse loses focus on the game window so the user can go to another window?
True that. I'll have a look if I can alter the mouse focus area to notice just the screen edge and when not near it, whether approaching it or already at the other display, it would not kick in. Wish me luck.
Visit us at: Campaign Series Legion
---
CS: Vietnam 1948-1967 < v2.00.01 Remastered Edition (2.00.02 Public Beta now available)
CS: Middle East 1948-1985 < v3.00.01 Remastered Edition (3.00.02 Public Beta now available)
User avatar
Crossroads
Posts: 18124
Joined: Sun Jul 05, 2009 8:57 am

Re: Bug with static all toolbar and problem with scrolling

Post by Crossroads »

Crossroads wrote: Tue May 06, 2025 8:13 am
Plodder wrote: Tue May 06, 2025 6:24 am Not really. Scroll bars are a pain. Couldn't you have a hotkey or something that makes the mouse loses focus on the game window so the user can go to another window?
True that. I'll have a look if I can alter the mouse focus area to notice just the screen edge and when not near it, whether approaching it or already at the other display, it would not kick in. Wish me luck.
Sat down today to implement this. Available in the next Update. I set an area of 70 px wide around the screen edges that invoke each of the scroll directions. Once you exit the display the game runs on, it stops scrolling.

Edit Available in 2.00.04, that is. The release version (2.00.03) of the current 2.00.02 Public Beta is already handed out to Matrix tech team a couple of weeks ago. 2.00.03 likely becomes available next week.
Visit us at: Campaign Series Legion
---
CS: Vietnam 1948-1967 < v2.00.01 Remastered Edition (2.00.02 Public Beta now available)
CS: Middle East 1948-1985 < v3.00.01 Remastered Edition (3.00.02 Public Beta now available)
User avatar
Crossroads
Posts: 18124
Joined: Sun Jul 05, 2009 8:57 am

Re: Bug with static all toolbar and problem with scrolling

Post by Crossroads »

Crossroads wrote: Sat May 17, 2025 8:41 am Sat down today to implement this. Available in the next Update. I set an area of 70 px wide around the screen edges that invoke each of the scroll directions. Once you exit the display the game runs on, it stops scrolling.

Edit Available in 2.00.04, that is. The release version (2.00.03) of the current 2.00.02 Public Beta is already handed out to Matrix tech team a couple of weeks ago. 2.00.03 likely becomes available next week.
Redefined this further as we want access to game Menu or Minimize/Maximize buttons, and to game icons at the bottom, without triggering scrolling. I believe this should do it:

Code: Select all

const int SCROLL_MARGIN_HORIZONTAL = 70; // pixels from the left/right edge to start scrolling
const int SCROLL_MARGIN_VERTICAL = 5;    // pixels from the top/bottom edge to start scrolling
I guess most players have their multiple displays next to each other horizontally, not on top of each other. Right?
Visit us at: Campaign Series Legion
---
CS: Vietnam 1948-1967 < v2.00.01 Remastered Edition (2.00.02 Public Beta now available)
CS: Middle East 1948-1985 < v3.00.01 Remastered Edition (3.00.02 Public Beta now available)
Post Reply

Return to “Tech Support”