1. Michael Kramer
  2. PowerBuilder
  3. Friday, 14 February 2020

Has anyone else seen this?

My setup:

  • PB version = PB 2017 R3 or PB 2019 R2 (same behavior = potentially legacy issue)
  • Windows = 10.0.19041.21

Anomaly seen: When user moves menu's toolbar and snap it to bottom edge the toolbar doesn't lock to the edge. Instead, it locks approx 30--40 pixels ABOVE bottom edge. No issue seen in MDI! nor MDIHelp! They lock toolbar to bottom respecting microhelp when present. Screeen shots:

 

WindowType = MDI! -- Toolbar locks to bottom

 

WindowType = MDIHelp! -- Toolbar locks to bottom edge above statusbar/microhelp

 

WindowType = Main! -- Toolbar locks misplaced approx 30-40 pixels above bottom edge

That distance is far large than MDI's Microhelp so it must be something else. Window is completely empty- Only content is title = "Main window" and reference to my tiny menu name MenuID = "m_lite".

 

Is this a known "legacy feature"? Or an already registered bug?  No reason for me to create duplicate bug if already known.

TIA /Michael

Accepted Answer
Michael Kramer Accepted Answer Pending Moderation
0
Votes
Undo

Thank you for all replies. I have now created bug #4106 referring to 2017 R3. I don't see a need for fixing before 2019 R2 goes GA. It still deserves registration so it can get prioritized in the product backlog.

In case any reader is curious: Empty area between toolbar and bottom edge is 33 pixels - which needs conversion to PBU when you calculate Y and Height.

/Michael

Comment
There are no comments made yet.
  1. Friday, 14 February 2020
  2. PowerBuilder
  3. # Permalink
Chris Pollach @Appeon Accepted Answer Pending Moderation
0
Votes
Undo

Hi Michael;

  Yes, this is a "legacy" bug.

FWIW, I do not see anything similar in the ticket system for this anomaly currently.

Regards ... Chris

Comment
I will package up small demo app and submit as legacy bug. THX, /Michael
  1. Michael Kramer
  2. Friday, 14 February 2020
There are no comments made yet.
  1. Friday, 14 February 2020
  2. PowerBuilder
  3. # 1
Roland Smith Accepted Answer Pending Moderation
1
Votes
Undo

I just verified it happens in PB 10.5. In PB 10, the toolbar doesn't appear at all.

I'll venture a guess that this is a bug introduced in 10.5 while implementing the contemporary style option.

Comment
There are no comments made yet.
  1. Friday, 14 February 2020
  2. PowerBuilder
  3. # 2
Arnd Schmidt Accepted Answer Pending Moderation
0
Votes
Undo

It is a kind of feature since more than a decade.

My setup: PB 10.5.2 (Dec 2008)

(Sorry for that useless information/reply)

Arnd

Comment
Thanks, very useful in fact - because it tells me it isn't a late regression introduced by Appeon.

It is just awkwardly hard to include in my UI positioning logic. I guess it is fixed pixel count that I will guestimate by trial-and-error.
  1. Michael Kramer
  2. Friday, 14 February 2020
There are no comments made yet.
  1. Friday, 14 February 2020
  2. PowerBuilder
  3. # 3
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.