We have discontinued this forum and moved support tickets to the GitHub issue tracker. More info

Window size and position

Ask, answer questions, and express your opinion about Uninstall Tool. Discussion of found bugs and problems, feature requests

Moderator: Steven

MrT
Posts: 28
Joined: 11 Nov 2011, 10:04

Window size and position

Post by MrT »

I would like to find out why doesn't Uninstall Tool save it's size and position? It feels like it saves the size and position during register procedure and uses it after.
Is it possible to make Uninstall Tool startup always maximized?
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Window size and position

Post by Steven »

MrT
The program restores last window position and maximized state for years. You should check if it can save its settings (some system problem?)
MrT
Posts: 28
Joined: 11 Nov 2011, 10:04

Re: Window size and position

Post by MrT »

Steven, where does it keep that settings?
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Window size and position

Post by Steven »

3.x keeps it at
C:\Documents and Settings\$USER$\Application Data\CrystalIdea Software\Uninstall Tool\preferences.xml (XP)
C:\Users...- on Vista/7
MrT
Posts: 28
Joined: 11 Nov 2011, 10:04

Re: Window size and position

Post by MrT »

I have this:

Code: Select all

  <Window7_Theme type="1">1</Window7_Theme> 
  <Window_Maximized type="1">1</Window_Maximized> 
  <Window_nHeight type="1">0</Window_nHeight> 
  <Window_nWidth type="1">0</Window_nWidth> 
  <Window_x type="1">0</Window_x> 
  <Window_y type="1">0</Window_y> 
I've changed to this

Code: Select all

  <Window7_Theme type="1">1</Window7_Theme> 
  <Window_Maximized type="1">1</Window_Maximized> 
  <Window_nHeight type="1">1</Window_nHeight> 
  <Window_nWidth type="1">1</Window_nWidth> 
  <Window_x type="1">0</Window_x> 
  <Window_y type="1">0</Window_y> 
and now it starts maximized.
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Window size and position

Post by Steven »

MrT
I'll look into the problem now. Using latest version?
MrT
Posts: 28
Joined: 11 Nov 2011, 10:04

Re: Window size and position

Post by MrT »

Steven, yes. I've bought SSD, reinstalled Windows with AHCI mode enabled and downloaded the newest version. Windows user is in Administrators group, UAC's disabled.
I've entered registration when window wasn't maximized, if it helps.
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Window size and position

Post by Steven »

MrT
Thank you for the report. I recommend removing the preferences file and run the program again. Does it save the size/state after that?
MrT
Posts: 28
Joined: 11 Nov 2011, 10:04

Re: Window size and position

Post by MrT »

Steven, no, after removing the file it startups not maximized again.
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Window size and position

Post by Steven »

MrT
but if you maximize it, and close. Does it appear maximized next time?
MrT
Posts: 28
Joined: 11 Nov 2011, 10:04

Re: Window size and position

Post by MrT »

Steven, no. I've tried different variants from clicking on other tabs to changings some options in preferences menu - it appears not maximized again.
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Window size and position

Post by Steven »

MrT
Can you please post the preferences.xml file once again?

BTW. Which Windows are you running on?
MrT
Posts: 28
Joined: 11 Nov 2011, 10:04

Re: Window size and position

Post by MrT »

Steven, Windows 7 x64 Corporate.

This is my current file, after deletion I've again changed two dights:

Code: Select all

  <?xml version="1.0" encoding="UTF-8" ?> 
- <PortableProgramData version="1">
  <AppList_HighlightRecent type="1">1</AppList_HighlightRecent> 
  <AppList_HighlightX64 type="1">1</AppList_HighlightX64> 
  <AppList_IconSize type="1">0</AppList_IconSize> 
  <AppList_ShowPopup type="1">1</AppList_ShowPopup> 
  <Color_NormalOne type="1">15790320</Color_NormalOne> 
  <Color_NormalTwo type="1">15394274</Color_NormalTwo> 
  <ExplorerBar_Themes type="1">1</ExplorerBar_Themes> 
  <General_UseTC type="1">0</General_UseTC> 
  <Interface_Language type="2">Russian</Interface_Language> 
  <RecentItemsOnToolbar type="1">1</RecentItemsOnToolbar> 
  <SecondToolbar_Position type="1">1</SecondToolbar_Position> 
  <SecondToolbar_Show type="1">1</SecondToolbar_Show> 
  <Startup_CheckForUpdates type="1">1</Startup_CheckForUpdates> 
  <ToolBar_ButtonsCaptions type="1">1</ToolBar_ButtonsCaptions> 
  <ToolBar_Position type="1">0</ToolBar_Position> 
  <ToolBar_Show type="1">1</ToolBar_Show> 
  <UTAutoRunList_Column_0 type="1">131000</UTAutoRunList_Column_0> 
  <UTAutoRunList_Column_1 type="1">65616</UTAutoRunList_Column_1> 
  <UTAutoRunList_Column_2 type="1">65636</UTAutoRunList_Column_2> 
  <UTAutoRunList_Column_3 type="1">65666</UTAutoRunList_Column_3> 
  <UTMainList_Column_0 type="1">66905</UTMainList_Column_0> 
  <UTMainList_Column_1 type="1">65606</UTMainList_Column_1> 
  <UTMainList_Column_2 type="1">65656</UTMainList_Column_2> 
  <UTMainList_Column_3 type="1">65616</UTMainList_Column_3> 
  <View_Updates type="1">1</View_Updates> 
  <Window7_Theme type="1">1</Window7_Theme> 
  <Window_Maximized type="1">1</Window_Maximized> 
  <Window_nHeight type="1">1</Window_nHeight> 
  <Window_nWidth type="1">1</Window_nWidth> 
  <Window_x type="1">0</Window_x> 
  <Window_y type="1">0</Window_y> 
  <Wizard_Action type="1">1</Wizard_Action> 
  </PortableProgramData>
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Window size and position

Post by Steven »

Window_nHeight and Window_nWidth were zeros and you put ones?
MrT
Posts: 28
Joined: 11 Nov 2011, 10:04

Re: Window size and position

Post by MrT »

Steven, yes.
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Window size and position

Post by Steven »

MrT
The program works correctly on our Windows 7 X64.

1. Does it save other preferences? Toolbars positions for example.
2. If yes, could you please run this version with /log parameter? It will output some lines when closing the program. Try closing it in normal state with changed width/height/position, and in maximized state. Thank you.
MrT
Posts: 28
Joined: 11 Nov 2011, 10:04

Re: Window size and position

Post by MrT »

Steven, no, it doesn't save toolbar position.
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Window size and position

Post by Steven »

MrT
This is all very strange, it saves "Interface_Language" for example.

FYI: Uninstall Tool does not save window position if you start it with command line or context menu "Install and Trace"
MrT
Posts: 28
Joined: 11 Nov 2011, 10:04

Re: Window size and position

Post by MrT »

Steven, I've just click "finish" with checked option to launch Uninstall Tool after installation was compete. I've tried to reinstall it right now and again the same problem.
User avatar
Steven
CrystalIDEA Developer
Posts: 2294
Joined: 21 Dec 2009, 11:48
Location: CrystalIDEA headquarters
Contact:

Re: Window size and position

Post by Steven »

MrT
I'll prepare a special testing version with detailed log tomorrow, it may help to locate the reason of the problem. Keep in touch.
Post Reply