PDA

View Full Version : Odd behavior with windows/subwindows/scroll bars



celestian
October 30th, 2019, 23:16
I've noticed some strange behavior with the actions tab in the AD&D ruleset. It's a very "busy" window with tabs/window/subwindows/scrollbars and various other things. That window appears to have some display issues under FGU.

Here is an example of what it looks like in FGC.

https://i.imgur.com/DDz7PET.gif

And here is how it works in FGU.

https://i.imgur.com/3oPUe4N.gif

Moon Wizard
November 2nd, 2019, 08:50
Filed as FGU-629.

Regards,
JPG

celestian
March 16th, 2020, 19:50
Filed as FGU-629.

Regards,
JPG

Following up since we're getting close to end of the 1st quarter. I am still seeing this behavior. I've tried with the most current release. Reporting mainly because of the mention of a fix for text not showing on windows properly.

This is what the combat tracker looks like when it comes up.
https://i.imgur.com/Usbdw3q.png

Once you click or resize the creature list window section it goes back to normal (you'll note the selected panel has "blank" block which will show/vanish like the character sheet animation shows as well.

https://i.imgur.com/uTdMW1s.png

Character sheets are still acting odd.
https://i.imgur.com/oJeRrtL.gif

Moon Wizard
March 16th, 2020, 20:27
Still being tracked as an issue. We've slowly been chipping away at complex sheet issues, in between the bigger tasks.

Regards,
JPG

celestian
June 22nd, 2020, 20:50
After a recent patch I noticed an additional new behavior.

https://i.imgur.com/3JcSHYG.gif

The window does still have the refresh issue but when mousing over the tokens the new behavior is the window drawing outside of the actually window it's supposed to be in. The mouse over token causes the background of the target in the CT to be highlighted.

Moon Wizard
June 25th, 2020, 04:30
What is your ruleset doing to the list when you hover like that?

JPG

celestian
June 25th, 2020, 05:03
What is your ruleset doing to the list when you hover like that?

JPG

The mouse over token causes the background of the target in the CT to be highlighted by changing the frame to a different color version.

This is what it looks like in FGC. Up until the recent update this is also how it looked in FGU.

https://i.imgur.com/kSGRSUr.gif

Here is the code tho there are sub-functions that are called but this will give you the gist of it.



-- when hovering over a token, highlight the entry in the CT
function onHoverADND(tokenMap,bState)
local ctwnd = nil;
local windowPath = nil;
local bHost = User.isHost();

if bHost then
ctwnd = Interface.findWindow("combattracker_host", "combattracker");
if ctwnd then windowPath = ctwnd.combatants.subwindow.list; end;
else
ctwnd = Interface.findWindow("combattracker_client", "combattracker");
if ctwnd then windowPath = ctwnd.list; end;
end
if ctwnd then
local nodeCT = CombatManager.getCTFromToken(tokenMap);
if nodeCT then
local sNodeID = nodeCT.getPath();
for k,v in pairs(windowPath.getWindows()) do
local node = v.getDatabaseNode();
local bActive = (DB.getValue(node, "active", 0) == 1)
local sFaction = v.friendfoe.getStringValue();
if node.getPath() == sNodeID then
windowPath.scrollToWindow(v);
local sFrame, sColor;
if bHost then
sFrame, sColor = v.getBackground(node,bState);
else
-- kludge to deal with different CT on client for now
sFrame = getCTFrameType(sFaction,bState,bActive);
if (bState and bActive) then
sFrame = 'field-initiative';
end
end
v.setFrame(sFrame);
v.setBackColor(sColor);
end
end
end
end
end

Moon Wizard
June 26th, 2020, 01:54
I'm thinking that the key thing is that it's also calling scrollToWindow; and your second example is smaller than the list view. I was wondering if you are calling that based on what I saw. Thanks for the confirmation.

Regards,
JPG

celestian
July 8th, 2020, 19:25
I'm thinking that the key thing is that it's also calling scrollToWindow; and your second example is smaller than the list view. I was wondering if you are calling that based on what I saw. Thanks for the confirmation.

Regards,
JPG

To follow up, your patch a few days back did resolve the mouse over/scrollToWindow issues. The subwindow issues still remain a problem.

matjam
July 8th, 2020, 19:57
I've also been seeing the actions tab content disappear and reappear with a close/open - unmodded, 5e, latest build.

Its annoying but at least there's a workaround.

Moon Wizard
July 13th, 2020, 06:21
Apologies. Can you be more specific on the subwindow issues at this point in time? With things changing regularly to try and support the FGC behaviors, it's best to get the steps on the latest version.

Regards,
JPG

celestian
July 13th, 2020, 06:44
Apologies. Can you be more specific on the subwindow issues at this point in time? With things changing regularly to try and support the FGC behaviors, it's best to get the steps on the latest version.

Regards,
JPG

This post (https://www.fantasygrounds.com/forums/showthread.php?51736-Odd-behavior-with-windows-subwindows-scroll-bars&p=480924&viewfull=1#post480924) has the images I'm referring too.

Here is an updated clip I just made with current version of FGU.

https://i.imgur.com/oTwYgjF.gif

The blank bits that require the window to be resized to get it to refresh is the issue. The same view works fine (meaning there are not blank segements) in FGC.

celestian
August 11th, 2020, 16:04
Checking in on this topic. Still seeing this:

https://i.imgur.com/AvmcaMe.gif

bmos
August 11th, 2020, 16:37
I've noticed in Pathfinder 1e that opening some windows with a lot of text (such as spells or the character sheet notes tab) will result in the text going off the page without a scrollbar and without the ability to scroll with the mouse wheel.
Resizing the window makes the scrollbar show up and enables scrolling.

This only showed up in the last update, as far as I recall, so it might not be related to this.

kevininrussia
August 11th, 2020, 17:43
I've noticed in Pathfinder 1e that opening some windows with a lot of text (such as spells or the character sheet notes tab) will result in the text going off the page without a scrollbar and without the ability to scroll with the mouse wheel.
Resizing the window makes the scrollbar show up and enables scrolling.

This only showed up in the last update, as far as I recall, so it might not be related to this.

I reported this issue with 4e last week here

https://www.fantasygrounds.com/forums/showthread.php?60691-4e-window-display-bugs-after-build-8-4-2020

celestian
August 13th, 2020, 19:08
Additional follow up to this issue that someone showed me last night. If you do not resize the window you can use the mouse wheel to scroll and it does... strange things.


https://i.imgur.com/dwycSMn.gif

celestian
August 21st, 2020, 18:04
With the patch on 2020.08.21 the subwindow and scrollbar problems have been fixed.

THANKS! I think I will now be able to start play testing.