View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013353ParaView(No Category)public2012-08-13 20:242012-10-29 17:04
ReporterAlan Scott 
Assigned ToKyle Lutz 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versiongit-master 
Target Version4.0Fixed in Version3.98.0 
Summary0013353: Color table presets should open at top of table, but they open at bottom
DescriptionThe color table presets (Color Editor, Choose Preset) should open with the first entries in the table of data displayed, rather than the last. The following git diff fixes this, opening the display with the first row showing.

I am adding a scrollToTop() to pqColorPresetManager::showEvent().

  
diff --git a/Qt/Components/pqColorPresetManager.cxx b/Qt/Components/pqColorPrese
index 40ad51f..8d6c911 100644
--- a/Qt/Components/pqColorPresetManager.cxx
+++ b/Qt/Components/pqColorPresetManager.cxx
@@ -362,6 +362,7 @@ void pqColorPresetManager::showEvent(QShowEvent *e)
         header->sectionSizeHint(1));
     header->resizeSection(1, header->sectionSizeHint(1));
     }
+ this->Form->Gradients->scrollToTop();
 }
 
 void pqColorPresetManager::importColorMap()
TagsNo tags attached.
ProjectSandia
Topic Name13353-color-presets-scroll-to-top
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0028999)
Alan Scott (manager)
2012-08-13 20:29

Please install the patch included in this bug to the paraview tree.

Thanks.
(0029007)
Kyle Lutz (viewer)
2012-08-16 09:50

Merge topic '13353-color-presets-scroll-to-top' into next

5404cdc Scroll the color presets list to the top when opening
(0029008)
Kyle Lutz (viewer)
2012-08-16 09:54

The issue is resolved.

Before when opening the color presets dialog via the following steps:

  1. Sources -> Wavelet
  2. Apply
  3. Representation -> Surface
  4. Color Mode -> RTData
  5. Edit Color
  6. Choose Preset

the list of presets would open to the middle.

Now when opening the color presets dialog the list is scrolled to the top and the first item is displayed at the top.
(0029020)
Utkarsh Ayachit (administrator)
2012-08-17 14:27

merged in master, if applicable
(0029237)
Alan Scott (manager)
2012-09-20 17:13

Tested local server, Linux, master.

 Issue History
Date Modified Username Field Change
2012-08-13 20:24 Alan Scott New Issue
2012-08-13 20:24 Alan Scott Assigned To => Alan Scott
2012-08-13 20:25 Alan Scott Status backlog => todo
2012-08-13 20:25 Alan Scott Status todo => active development
2012-08-13 20:29 Alan Scott Note Added: 0028999
2012-08-13 20:29 Alan Scott Status active development => gatekeeper review
2012-08-13 20:29 Alan Scott Resolution open => fixed
2012-08-14 09:40 Utkarsh Ayachit Assigned To Alan Scott => Kyle Lutz
2012-08-14 09:40 Utkarsh Ayachit Status gatekeeper review => todo
2012-08-14 09:40 Utkarsh Ayachit Target Version => 4.0
2012-08-16 09:41 Kyle Lutz Status todo => active development
2012-08-16 09:50 Kyle Lutz Topic Name => 13353-color-presets-scroll-to-top
2012-08-16 09:50 Kyle Lutz Note Added: 0029007
2012-08-16 09:50 Kyle Lutz Status active development => gatekeeper review
2012-08-16 09:54 Kyle Lutz Note Added: 0029008
2012-08-17 14:26 Utkarsh Ayachit Fixed in Version => git-master
2012-08-17 14:27 Utkarsh Ayachit Status gatekeeper review => customer review
2012-08-17 14:27 Utkarsh Ayachit Note Added: 0029020
2012-09-20 17:13 Alan Scott Note Added: 0029237
2012-09-20 17:13 Alan Scott Status customer review => closed
2012-10-29 17:04 Utkarsh Ayachit Fixed in Version git-master => 3.98.0


Copyright © 2000 - 2018 MantisBT Team