Ticket #1920 (closed: worksforme)

Opened 10 years ago

Last modified 5 years ago

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:3 Changed 10 years ago by Roman Tolchenov

  • Status changed from assigned to accepted

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.

comment:5 Changed 10 years ago by Nick Draper

  • Status changed from verify to closed
  • Resolution changed from duplicate to worksforme

changed to worksforme and closed

comment:6 Changed 10 years ago by Nick Draper

  • Tester set to Nick Draper

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2767

Note: See TracTickets for help on using tickets.