FreeCAD / FreeCAD/FreeCAD

Core: Deselected components still drawn as selected

Open
#19,840 6 comments 0 reactions 0 assignees View on GitHub
Mod: Core Status: Confirmed Topic: User Interface Type: Bug
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 17h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Problem description

I cannot reproduce this with a simple test file, I'm only experiencing this in my file but it is reproducible.

![Image](https://github.com/user-attachments/assets/a6f006b8-c283-4db8-b992-ca280196bae4)

When selecting a list of sub components (e.g., edges) using the CTRL key modifier, then deselecting an edge it is still drawn in the 3D view as selected. The Selection list panel correctly updates, but the 3D view does not.
Here is a simple video that demonstrates this:
https://youtu.be/MYyjJMUVyhg

I tried reproducing this with a new file and a simple PAD, but it works correctly. I've attached my file that exhibits the issue.

[deselected objects still drawn selected.FCStd.tar.gz](https://github.com/user-attachments/files/18956462/deselected.objects.still.drawn.selected.FCStd.tar.gz)

### Full version info

```shell
OS: Linux Mint 22 (XFCE/xfce/xcb)
Architecture: x86_64
Version: 1.1.0dev.40317 (Git) Conda AppImage
Build type: Release
Branch: main
Hash: b67ab979afdba808fc03196faf9c5f8830df471f
Python 3.11.9, Qt 5.15.13, Coin 4.0.3, Vtk 9.2.6, IfcOpenShell 0.7.0, OCC 7.7.2
Locale: English/United States (en_US)
Stylesheet/Theme/QtStyle: FreeCAD Dark.qss/FreeCAD Dark/Fusion
Logical/physical DPI: 96.0135/108.888
```

### Subproject(s) affected?

None

### Anything else?

_No response_

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Research direction

Start by opening the attached “deselected objects still drawn selected.FCStd” file in the reported FreeCAD 1.1.0dev environment and follow the linked video while selecting and deselecting subcomponents with Ctrl. Compare the Selection list panel with the 3D view and use the reported version details to narrow reproduction. Done means deselected components are no longer rendered as selected in the 3D view.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.