Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With stylesheets, Scroll bar overlaps arrows in Properties tab with stylesheets, never disappears #6244

Closed
FreeCAD-Bug-Importer opened this issue Feb 7, 2022 · 4 comments
Labels
3rd party component Issue related to 3rd party component Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD UI/UX

Comments

@FreeCAD-Bug-Importer
Copy link
Collaborator

FreeCAD-Bug-Importer commented Feb 7, 2022

Issue imported from https://tracker.freecad.org/view.php?id=4716

  • Reporter: dxp.dev
  • Date submitted: 7/29/2021
  • FreeCAD version: 0.2
  • Category: Bug
  • Status: new
  • Tags:

Original report text

Context : With any stylesheet (not with "no-stylesheet" theme)

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.

image
See attached video

Proposed solution: The editing arrows shouldn't overlap with the scroll bar, or the scroll bar should disappear after 1/2second as in the "no-stylesheet" theme

Additional information

FreeCAD forum topic

Steps to reproduce

On FC 0.20 (git)

  • Select a stylesheet (Behave Dark, all the Dark-, Darker-, Light-* or proDark)
  • Open a file, apply anything to a model (pocket, pad, etc.)
  • In properties tab, clic on the drop-down arrows or up/down arrow at the right of the property you want to edit
  • Instead of clicking those arrows, scroll bar takes precedence and move the view (see attached video)

FreeCAD Info

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)

Other bug information

  • Priority: normal
  • Severity: minor
  • Category: Bug
  • OS: MacOS Big Sur 11.5
  • Platform: MacBook Pro mid-2015
  • Updated: 8/11/2021

Discussion from Mantis ticket

Comment by chennes 2021-08-09 14:49

I can't reproduce this on Windows, so this may be a Mac-only Qt bug.

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.25442 (Git)
Build type: Debug
Branch: master
Hash: d635f03
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)


Comment by dxp.dev 2021-08-09 16:56

On the forum, user Syres couldn't reproduce on Windows either:

[quote=Syres]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: 5f5b3d9
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)[/quote]


Comment by chennes 2021-08-11 17:13

I can't reproduce on:

OS: macOS 10.15
Word size of FreeCAD: 64-bit
Version: 0.20.25450 (Git)
Build type: Release
Branch: master
Hash: ed8e632
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)

Maybe fixed in recent Qt versions?

@FreeCAD-Bug-Importer FreeCAD-Bug-Importer added Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD Bug This issue or PR is related to a bug labels Feb 7, 2022
@luzpaz
Copy link
Contributor

luzpaz commented Apr 1, 2022

I bumped the forum thread

@luzpaz luzpaz added the Missing: feedback If feedback is requested label Apr 1, 2022
@luzpaz luzpaz added UI/UX Stylesheets Anything regarding stylesheets/themes 3rd party component Issue related to 3rd party component and removed Bug This issue or PR is related to a bug Missing: feedback If feedback is requested Stylesheets Anything regarding stylesheets/themes labels May 3, 2022
@luzpaz
Copy link
Contributor

luzpaz commented May 8, 2022

Per dxp.dev in the forum thread
This is an upstream macOS issue. The workaround:

MacOS System Preferences ➡️ General ➡️ Show scroll bars
set to Always

@luzpaz luzpaz closed this as completed May 8, 2022
@luzpaz
Copy link
Contributor

luzpaz commented May 8, 2022

CC @looooo @ipatch @PLChris
just giving you a heads up about this known issue for macOS

@ipatch
Copy link
Contributor

ipatch commented May 8, 2022

CC @looooo @ipatch @PLChris just giving you a heads up about this known issue for macOS

yes, this i something i've noticed as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3rd party component Issue related to 3rd party component Core Issue or PR touches core sections (App, Gui, Base) of FreeCAD UI/UX
Projects
None yet
Development

No branches or pull requests

3 participants