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

Check "Only show items inside current atas feature" in legend. #58088

Open
2 tasks done
jmmarcotte-GIS opened this issue Jul 12, 2024 · 3 comments
Open
2 tasks done

Check "Only show items inside current atas feature" in legend. #58088

jmmarcotte-GIS opened this issue Jul 12, 2024 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Feedback Waiting on the submitter for answers Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks stale Uh oh! Seems this work is abandoned, and the PR is about to close.

Comments

@jmmarcotte-GIS
Copy link

What is the bug or the crash?

User Feedback

I checked "Only show items inside current atas feature" in my legend. Then I loaded the atlas and it crashed. When I don't check it works fine

Report Details

Python Stack Trace

Windows fatal exception: access violation

Current thread 0x00006414 (most recent call first):
  <no Python frame>

Stack Trace


QgsLayoutItemLegend::doUpdateFilterByMap :
QgsLayoutItemLegend::paint :
QGraphicsScene::dragMoveEvent :
QGraphicsScene::drawItems :
QGraphicsScene::drawItems :
QGraphicsView::paintEvent :
QgsLayoutView::paintEvent :
QWidget::event :
QFrame::event :
QGraphicsView::viewportEvent :
QCoreApplicationPrivate::sendThroughObjectEventFilters :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QWidgetPrivate::drawWidget :
QWidgetPrivate::paintSiblingsRecursive :
QWidgetPrivate::drawWidget :
QWidgetPrivate::paintSiblingsRecursive :
QWidgetPrivate::drawWidget :
QWidgetPrivate::paintSiblingsRecursive :
QWidgetPrivate::drawWidget :
QWidgetPrivate::paintSiblingsRecursive :
QWidgetPrivate::drawWidget :
QWidgetPrivate::moveRect :
QWidget::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
QGraphicsScene::~QGraphicsScene :
QObject::event :
QGraphicsScene::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
qt_plugin_query_metadata :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info
QGIS Version: 3.34.6-Prizren
QGIS code revision: 623828f
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.8.5
Running against GDAL: 3.8.5

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19045

Steps to reproduce the issue

Go to Print composer
Click on legend item
Check "Only show items inside current atas feature"
Load Atlas
See error

Versions

QGIS Info
QGIS Version: 3.34.6-Prizren
QGIS code revision: 623828f
Compiled against Qt: 5.15.13
Running against Qt: 5.15.13
Compiled against GDAL: 3.8.5
Running against GDAL: 3.8.5

System Info
CPU Type: x86_64
Kernel Type: winnt
Kernel Version: 10.0.19045

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@jmmarcotte-GIS jmmarcotte-GIS added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Jul 12, 2024
@agiudiceandrea agiudiceandrea added Crash/Data Corruption Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks labels Jul 14, 2024
@agiudiceandrea
Copy link
Contributor

@jmmarcotte-GIS , thanks for reporting. Please provide a sample project and layers with which the issue occurs.

@jamesmica
Copy link

Still an issue, but you can actually use this feature by selecting a linked map BEFORE checking "Only show items inside current atas feature". (click Legend --> Linked map, which is probably empty by defaut)

@nyalldawson nyalldawson added the Feedback Waiting on the submitter for answers label Oct 10, 2024
Copy link

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale".
If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue.
In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue.
If there is no further activity on this issue, it will be closed in a week.

@github-actions github-actions bot added the stale Uh oh! Seems this work is abandoned, and the PR is about to close. label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Feedback Waiting on the submitter for answers Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks stale Uh oh! Seems this work is abandoned, and the PR is about to close.
Projects
None yet
Development

No branches or pull requests

4 participants