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

A forum for research and development of the user interface of FreeCAD
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
dxp.dev
Posts: 280
Joined: Tue Dec 11, 2018 12:57 pm

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

Post 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
Last edited by dxp.dev on Sun May 08, 2022 1:42 pm, edited 3 times in total.
Find your user.cfg and system.cfg files : Macro_findConfigFiles

Imperial system makes no sense, go metric ! ! !
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

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

Post 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)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
dxp.dev
Posts: 280
Joined: Tue Dec 11, 2018 12:57 pm

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

Post 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 ?
Find your user.cfg and system.cfg files : Macro_findConfigFiles

Imperial system makes no sense, go metric ! ! !
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

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

Post by chrisb »

Did you try a plain vanilla config where only the style sheet is changed?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
dxp.dev
Posts: 280
Joined: Tue Dec 11, 2018 12:57 pm

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

Post 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.
Find your user.cfg and system.cfg files : Macro_findConfigFiles

Imperial system makes no sense, go metric ! ! !
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

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

Post by chrisb »

Can you create a ticket and crosslink it to this discussion?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
dxp.dev
Posts: 280
Joined: Tue Dec 11, 2018 12:57 pm

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

Post by dxp.dev »

Find your user.cfg and system.cfg files : Macro_findConfigFiles

Imperial system makes no sense, go metric ! ! !
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

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

Post by chrisb »

Can a non-Mac user please check this?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

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

Post 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)
User avatar
chennes
Veteran
Posts: 3876
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

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

Post 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?
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
Post Reply