Page 1 of 3

[SOLVED] issue #6244 [MacOS][view panel] Arrows of data properties overlap with scroll bar

Posted: Wed Jul 28, 2021 12:42 pm
by dxp.dev
OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.25288 (Git)
Build type: Release
Branch: master
Hash: bbb557aab6129efd9486d6df19f06c2976fdb7e5
Python version: 3.9.6
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: C/Default (C)


Hello,

There is a UI problem in MacOS:

Use-case : The properties of the data can be edited (such as length with up and down arrows, pocket type with a drop down menu by clicking on the down arrow, etc.).

Problem: The scroll bar overlaps those arrows, and when clicking on them, the scroll bar has priority and instead of modifying the properties, it just make the data window scroll.

See attached video : https://mon-partage.fr/f/X8GfurTh/

Proposed solution: The editing arrows shouldn't overlap with the scroll bar.

EDIT : Added bug tracker info : issue #4716

Re: [MacOS][view panel] Arrows of data properties overlap with scroll bar

Posted: Wed Jul 28, 2021 3:16 pm
by chrisb
I cannot confirm. After scrolling I have to wait for a second or half, then the scrollbar disappears and a I can access the up and down arrows without interference with the scrollbar.

Can you please try with the normal theme?
If that doesn't work, please try with a plain vanilla config file.

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.25311 (Git)
Build type: Release
Branch: master
Hash: c5524bb58a7126fa2242d6137eb82ee9d54e82d4
Python version: 3.9.6
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: C/Default (C)

Re: [MacOS][view panel] Arrows of data properties overlap with scroll bar

Posted: Wed Jul 28, 2021 6:22 pm
by dxp.dev
With the "no-stylesheet" theme, I get the same behavior as you : Scroll bar disappears and I can clic on the arrows without problem.

So it is a stylesheet problem.

I have the same problematic behavior with all the proposed stylesheets (Behave Dark, all the Dark-*, Darker-*, Light-* and proDark.

Is there a way to trick the stylesheets so that the scroll bar has the same behavior as the no-stylesheet one ?

Re: [MacOS][view panel] Arrows of data properties overlap with scroll bar

Posted: Wed Jul 28, 2021 9:37 pm
by chrisb
Did you try a plain vanilla config where only the style sheet is changed?

Re: [MacOS][view panel] Arrows of data properties overlap with scroll bar

Posted: Thu Jul 29, 2021 7:31 am
by dxp.dev
Yes, I completely deleted FC and the config files few days ago, and reinstalled it, then changed the stylesheet and that behavior was already there.

Re: [MacOS][view panel] Arrows of data properties overlap with scroll bar

Posted: Thu Jul 29, 2021 7:59 am
by chrisb
Can you create a ticket and crosslink it to this discussion?

Re: [MacOS][view panel] Arrows of data properties overlap with scroll bar

Posted: Thu Jul 29, 2021 9:56 am
by dxp.dev

Re: issue #4716 [MacOS][view panel] Arrows of data properties overlap with scroll bar

Posted: Thu Jul 29, 2021 10:17 am
by chrisb
Can a non-Mac user please check this?

Re: issue #4716 [MacOS][view panel] Arrows of data properties overlap with scroll bar

Posted: Thu Jul 29, 2021 1:31 pm
by Syres
chrisb wrote: Thu Jul 29, 2021 10:17 am Can a non-Mac user please check this?
On Windows as soon as the user squashes the Property panel to cause the scroll bar to appear the up/down arrows and combo box drop down arrow all shift to the left so they don't overlap (as would be expected), tested with Behave Dark stylesheet using:

OS: Windows 7 Version 6.1 (Build 7601: SP 1)
Word size of FreeCAD: 64-bit
Version: 0.20.25306 (Git)
Build type: Release
Branch: master
Hash: 5f5b3d9b67136edda1f6738f1a83154990f7839d
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United Kingdom (en_GB)

Re: issue #4716 [MacOS][view panel] Arrows of data properties overlap with scroll bar

Posted: Wed Aug 11, 2021 5:04 pm
by chennes
I just tested this on

OS: macOS 10.15
Word size of FreeCAD: 64-bit
Version: 0.20.25450 (Git)
Build type: Release
Branch: master
Hash: ed8e63270827afddd2f3e59cea2384af66e0f0d5
Python version: 3.9.1
Qt version: 5.15.2
Coin version: 4.0.0
OCC version: 7.5.0
Locale: English/United States (en_US)

I cannot reproduce the issue -- my guess is that this is/was a Qt bug that has been resolved since 5.12. @dxp.dev, are you using a daily build, or are you self-compiling? If self-compiling, can you update your Qt installation and try it again?