biolab / biolab/orange-widget-base

Add no shadow option?

Open
#192 0 comments 0 reactions 0 assignees View on GitHub
needs discussion
Dominant language
Python
Stars
28
Forks
62
PR merge metrics
No merged PRs in 30d

Description

For making screenshots on Mac it is extremely annoying to have the shadows around windows. It also makes the trim.py not work.

My current solution is to have two branches with small fixes for hiding shadows. This gets annoying when `Orange/canvas/applications/canvasmain.py` and `Orange/widgets/widget.py` change and one has to look for places to insert `self.setWindowFlags(Qt.NoDropShadowWindowHint)` at.

Could there be an option for hiding shadows in Preferences - Style? Just an idea.

Contributor guide

Open the contributing guide

Research direction

Start by reading Orange/canvas/applications/canvasmain.py and Orange/widgets/widget.py, then trace how Preferences - Style settings are defined and applied. The work is done when a preference can consistently hide window shadows on macOS and trim.py works without maintaining separate branches.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.