Ticket #1920 (closed: worksforme)
ApplicationWindow::customMenu(QMdiSubWindow* w) seems to be called again and again and again
Reported by: | Michael Whitty | Owned by: | Roman Tolchenov |
---|---|---|---|
Priority: | major | Milestone: | Iteration 27 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Nick Draper |
Description
This function in qtiplot/ApplicationWindow seems to be called every time Mantid is doing something. For example, it is called on the initPlot3D, windowActivated, openTemplate...
Some of the features in customMenu() - populating File, Edit, View... etc surely don't need to be run every time these things happen?
For example, this causes the "Interfaces" menu to be re-created an amazing number of times, for something that I don't think could possibly change in runtime.
Assigning this to Nick to pick who's best suited for looking at this.
Change History
comment:1 Changed 10 years ago by Nick Draper
- Owner changed from Nick Draper to Roman Tolchenov
- Status changed from new to assigned
comment:2 Changed 10 years ago by Nick Draper
- Milestone changed from Iteration 26 to Iteration 27
Bulk move of tickets to iteration 27, if your ticket is essential for Iteration 26 then move it back.
comment:4 Changed 10 years ago by Roman Tolchenov
- Status changed from accepted to verify
- Resolution set to duplicate
I understand that the real problem is gone away (fixed somewhere else). Can be revisited if other problems arise.