correctly respect the dock widget option#64954
Conversation
partial fix for qgis#62416
🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. 🍎 MacOS Qt6 buildsDownload MacOS Qt6 builds of this PR for testing. |
|
The backport to stderrstdoutTo backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release-3_44 release-3_44
# Navigate to the new working tree
cd .worktrees/backport-release-3_44
# Create a new branch
git switch --create backport-64954-to-release-3_44
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick fbd43801fd8d970dd3b6c7bf1f080094050e609c
# Push it to GitHub
git push --set-upstream origin backport-64954-to-release-3_44
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release-3_44Then, create a pull request where the |
|
@3nids , IIUC with this PR the Moreover, it seems to me such setting doesn't actually have the intended effect, since the attribute table opens docked or non docked depending on its latest status (even after closing and reopening QGIS), not on such setting. Maybe I'm missing something? |
|
@agiudiceandrea you are correct. That's how the widget helper works and this makes the setting somehow useless. Here is a fix: #65064 But generally, I wonder if this is worth a setting, so the other approach would be to drop the setting and let the helper class reuse the last mode that was used (mode + position). No strong opinion on this. |
partial fix for #62416
When opening an attribute table at first time, it was always creating a docked one, despite the status of the settings. This PR fixes this.