Open Side Menu Go to the Top
Register
PlaceMint: Window Positioning Tool PlaceMint: Window Positioning Tool

08-06-2008 , 04:39 PM
Big issue with the new version - i cant drag windows in to slots 1 and 2 (I have a layout of 1 and 2 at the top, 3 and 4 at the bottom).

Also (perhaps related issue) - funny things happen in the main window. If I click (or perhaps just hover over, cant recall right now), it seems to duplicate itself in the list. V. odd behaviour.

sorry for the crappy explanation, let me know if you cant replicate it and i'll try and be a bit clearer.
PlaceMint: Window Positioning Tool Quote
08-06-2008 , 06:24 PM
Found and fixed the bug about dragging into slots 1 or 2.

You are going to have to give me a better explanation about what is happening in the main window. What exactly do you mean by "duplicate itself"? Also, if you can let me know if it's clicking or hovering? And what exactly are you clicking/hovering over, is it a slot in tree view, a group, or part of the menu?
PlaceMint: Window Positioning Tool Quote
08-07-2008 , 10:36 AM


Now when I put the mouse cursor over the text in slot 3 (i dont need to click it)

PlaceMint: Window Positioning Tool Quote
08-07-2008 , 11:30 AM
In the second picture, there is a tool tip with the window name. Where is that coming from? PlaceMint only uses tool tips within the configuration window to warn about setup errors. My guess is that the tool tip's title is the same as it's display text, which means it would be a window PlaceMint should watch because it has a title that matches the regular expression.
PlaceMint: Window Positioning Tool Quote
08-07-2008 , 11:54 AM
You're nearly there. It's shown because the window name is long and so doesnt fit fully in the control, and a tooltip is shown. The tooltip is a default behaviour of this treeview list control. (If I expand the window so the full title fits, then this behaviour doesnt occur).
PlaceMint: Window Positioning Tool Quote
08-07-2008 , 02:14 PM
That's it, I can see it now. Stupid default windows actions . Now that I can reproduce and know exactly what is happening, I can look at what is the best fix. Thanks for help debug PlaceMint.
PlaceMint: Window Positioning Tool Quote
08-07-2008 , 06:59 PM
I've fixed the tool tip bug. The end result is that PlaceMint will ignore all tool tip windows. Based on how tool tips are used, I don't see there being a situation where someone actually wants to position and size tool tip windows.

If no one comments on the increased update frequency, I'm going to close the bug without any further changes.

This leaves just the bug of changes in the configuration window taking effect before they are saved and the configuration window is closed. I haven't been able to reproduce this. I saw it once and it was reported once by someone, but I can't do debug work if I can't make the bug happen.

With all that said, it looks like there will be one more patch for the v0.3 cycle to come out at some point this weekend. Then I will look at the feature requests and decide what should be included for v0.4. If people have a preference, let me know. You can see the requests here.
PlaceMint: Window Positioning Tool Quote
08-07-2008 , 08:28 PM
Im super ******ed, so could somebody post a step by step guide on how to make this work with a poker site?

thx

shady
PlaceMint: Window Positioning Tool Quote
08-08-2008 , 12:31 AM
There are How-To's on the project's wiki and a short bit written by HighStakes. Can you ask specific questions about what you don't understand? I need more than "I can't get it to work" to help you.
PlaceMint: Window Positioning Tool Quote
08-08-2008 , 07:16 AM
Quote:
Originally Posted by TheIrishThug
I've fixed the tool tip bug. The end result is that PlaceMint will ignore all tool tip windows. Based on how tool tips are used, I don't see there being a situation where someone actually wants to position and size tool tip windows.
That's a good idea, because there were probably other similar issues (e.g. getting the same popup in the windows task manager)

Quote:
If no one comments on the increased update frequency, I'm going to close the bug without any further changes.
Setting the refresh helped, I still say it's quite flickery dragging around windows, but I would definately put this down as a low priority feature request, not a bug, as it doesnt effect the running of the program, it's just a visual thing.

Quote:
This leaves just the bug of changes in the configuration window taking effect before they are saved and the configuration window is closed. I haven't been able to reproduce this. I saw it once and it was reported once by someone, but I can't do debug work if I can't make the bug happen.
I see if I can replicate it.


Edit: Have you uploaded a new version that fixes the slots bug and the popup issue? It's still 1.3.2 on sourceforge.
PlaceMint: Window Positioning Tool Quote
08-08-2008 , 09:25 AM
Bug report: this has happened to be a few times, but I can't reproduce it on-demand. It occurs when a window that placemint had been controlling closes. I get a .NET framework error window, but I can continue and the program will continue working correctrly.

There doesn't seem to be any specific environment when this occurs, and it's pretty infrequent - I use placemint to manage 15-20 windows an hour, and have been using it constantly all week, and I've seen this error perhaps 5 or 6 times.

Anyway, The error is:

SetWindowPos failed to move and size the window: 87.

PlaceMint.Manager.PMException.Win32Exception: SetWindowPos failed to move and size the window: 87
en PlaceMint.Manager.Slot.moveAndSizeWin(Boolean movable, Boolean sizable)
en PlaceMint.Manager.WindowGroup.refresh(Boolean dragDropSwap)
en PlaceMint.Manager.Configuration.refreshGroups(Bool ean dragDropSwap)
en PlaceMint.Access.MainGUI.refreshTimer_Tick(Object sender, EventArgs e)
en System.Windows.Forms.Timer.OnTick(EventArgs e)
en System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


(I hope you don't mind bug reports here rather than on sourceforge, navigating that site puts me on tilt)
PlaceMint: Window Positioning Tool Quote
08-08-2008 , 11:01 AM
A Win32Exception is something I throw when a call to a WinAPI function fails for some reason. 87 is there error code for invalid parameter, so it has to be a timing thing. The window closes in refresh after I check if windows have closed, but before I start repositioning windows. Since this will easily get corrected on the next loop thru refresh, I can just turn these into log messages.

I'm using the trackers more to keep myself organized. Compared to using this thread and a text file on my computer, the trackers are the best option. The Sourceforge website is going to look funking for a little while because they are rolling out a lot of updates to both the back end and layout this week.

I'll bang out the new bug fix and upload v0.3.3 soon.
PlaceMint: Window Positioning Tool Quote
08-08-2008 , 11:31 AM
Quote:
Originally Posted by TheIrishThug
I'm using the trackers more to keep myself organized. Compared to using this thread and a text file on my computer, the trackers are the best option. The Sourceforge website is going to look funking for a little while because they are rolling out a lot of updates to both the back end and layout this week.
I hope they clean and simplify things a lot. It's been in need of a facelift for years in my opinion. Compared to the lean google code system, it always seems such a hassle to track and post fixes and requests.

Quote:
I'll bang out the new bug fix and upload v0.3.3 soon.
Great, and thanks again for your continued support on this great little app.
PlaceMint: Window Positioning Tool Quote
08-08-2008 , 11:48 AM
v0.3.3 patch is uploaded. v0.4 will be at least a week out because I have a lot of work for school to do.

I haven't looked at the google system, but knowing them, it's probably very well done. I haven't had many problems with sourceforge. Just once when I uploaded the wrong zip and had to wrestle with the release system to get it to recognize the correct one. The layout is not very "pretty" but it's very functional when you work with it.
PlaceMint: Window Positioning Tool Quote
08-08-2008 , 09:09 PM
I got this to work for Stars cash games, but there is no defined regular expression for stars tourneys. How do I get this to work with Stars tourneys?
PlaceMint: Window Positioning Tool Quote
08-09-2008 , 12:06 PM
You can define a custom Regular Expression Stars tournaments. If you don't know all the syntax of regular expressions, you can just do simple text compares and that will work just the same.
PlaceMint: Window Positioning Tool Quote
08-09-2008 , 01:02 PM
Does PlaceMint work with multiple monitors?
PlaceMint: Window Positioning Tool Quote
08-09-2008 , 01:04 PM
It will work with any setup you have. Since the user is the one deciding what coordinates to use to position windows, it give you full flexibility.
PlaceMint: Window Positioning Tool Quote
08-09-2008 , 02:01 PM
Quote:
Originally Posted by TheIrishThug
You can define a custom Regular Expression Stars tournaments. If you don't know all the syntax of regular expressions, you can just do simple text compares and that will work just the same.
I really don't know how the expressions work, but I made a super simple "Tournament" expression. It finds all the tourney windows. However, it also finds the tourney lobby windows, which are not resizable. Most of the time, I close the lobby windows, but it throws things off until I can do so.

I'm sure it's possible to exclude the lobbys, but I don't understand all the things going on in a string like this (for pokerstars ring games):
\s+-\s+\$[0-9]+(|\.[0-9][0-9])/\$[0-9]+(|\.[0-9][0-9])\s+-\s+(No\sLimit|Pot\sLimit|Limit)\s(Hold'em|Omaha\sH/L|Omaha|Stud H/L|Stud|Razz|5-Card\sDraw|Triple\sDraw\s2-7)\s*$

I tried reading the microsoft msdn site, but the only thing I learned was that "\s" refers to a space.

Any help?
PlaceMint: Window Positioning Tool Quote
08-09-2008 , 03:24 PM
Here is a quick reference guide that was written for the AutoHotkey help file:
http://www.autohotkey.com/docs/misc/RegEx-QuickRef.htm
The commonly used syntax section will cover the symbols that will get lots of use.

Once you understand the syntax, if you need help making sure that your expression does what you want it to, Regex Coach is a great tool.
PlaceMint: Window Positioning Tool Quote
08-09-2008 , 05:56 PM
Thanks. That's what I needed and was able to get it working. Very nice program.
PlaceMint: Window Positioning Tool Quote
08-10-2008 , 12:51 AM
As SNGs close, I often get a .Net error. It's not everytime, but it's quite frequent.

************* Exception Text **************
PlaceMint.Manager.PMException.Win32Exception: SetWindowPos failed to move and size the window: 1400
at PlaceMint.Manager.Slot.moveAndSizeWin(Boolean movable, Boolean sizable)
at PlaceMint.Manager.WindowGroup.refresh(Boolean dragDropSwap)
at PlaceMint.Manager.Configuration.refreshGroups(Bool ean dragDropSwap)
at PlaceMint.Access.MainGUI.refreshTimer_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndPr oc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
PlaceMint: Window Positioning Tool Quote
08-10-2008 , 05:01 AM
irishthug is the best thanks for the tools i use them all. The drag and drop makes the tables shake as u move them anyway to fix?
PlaceMint: Window Positioning Tool Quote
08-10-2008 , 09:37 AM
rhizome: bug has been reported on this I think.
r0eKY: Also reported, the flicker reduces if increase refresh frequency in options, see discussion above.
Irish: Bug for you. Create one slot, then clone it twice. No problems. Go back to the first slot. Try to change the position. You can the popup "this position is already in use, please change". Whatever you it to, it isn't accepted (because the collision is in the other two slots). This is pretty critical, as you can't actually escape the situation and have to kill the placemint process.

Personally I think this solution generally isn't the best way to go, because people should ligitimately set up a slot in exactly the same position as another (think table stacking).
PlaceMint: Window Positioning Tool Quote
08-10-2008 , 10:51 AM
I've set up 12 slightly overlapping slots for 12 tables. Problem I'm having is they don't seem to load in order from 1-12. They'll load in random order and sometimes one will be loaded to a currently used slot and the table already in that slot will be bumped to a different slot.

I'm guessing this isn't how it should be working? Any ideas on how to fix?

Otherwise cool program
PlaceMint: Window Positioning Tool Quote

      
m