We have recently migrated from Powerbuilder 7.0.3 to 11.5.1.4011, and one
noticeable difference is that the object painter is very, very slow when
selecting objects. "Slow" not when opening window objects, tab objects, or
their scripts, that is in fact very fast, the real slowness is mainly when
selecting objects with the mouse in the object painter.
To illustrate, if working on a datawindow, simple clicking on any object on
a datawindow (textbox, column, computed field) takes an unusually long time.
That is all - just SELECTING with a mouse (or changing the active object
with a TAB key). Between a mouseclick and the object "flashing" in
confirmation of being selected, a good 1-2 seconds usually pass. I realise
that 1-2 seconds don't seem like a lot, but it is a great time increase in
selecting objects from PB 7, and it greatly hinders working with datawindows
where almost every second/third action is selecting one or multiple columns
for positioning, aligning, formatting, so it is quite painful to wait two
seconds between every object selection.
Note:
-opening SQL script in the background of datawindow is not affected, that is
almost instantaneous
-once a field (column, textbox, computed field, bitmap) is selected, moving
it around (either with mouse or arrow keys) is very quick - it really is
simple SELECTING the field, as in clicking on the field, and waiting for the
Powerbuilder to "show" it as selected
The machine in question has quite resonable specs, it is:
Windows XP SP3
Athlon 2.7 GHz Dual Core
4 GM of RAM
On another machine, which has poorer specs (Athlon 2.3 Dual Core, 2 GB of
RAM), but which has Vista on, and not XP, this "time of response" is much
quicker, and it makes datawindows much more workable.
I tried to fix this myself by changing the
C:\Documents and Settings\Username\Local Settings\Application
Data\Sybase\PowerBuilder 11.5\pb.ini
file. But the only change I made was that I switched off XPStyleTB (set it
to 0), because the XP style toolbar was being repainted horribly slow, and
it was flickering a lot, but this made no difference to working with
datawindows. I also changed the script font to FixedSys, but I hardly think
that this could've caused it. By the way, I run my Windows XP with "Windows
classic" style, not the default "Windows XP style", if that is of any
relevance.
Has anyone else reported similar behaviour for Windows XP? And are there any
tips I could try to speed it up?
Cheers
I have never seen this and have been using PB 11.5.x for quite a while.
I would guess that your problem is either memory or video related.
On my XP machine I have a dual core intel 2.13Ghz, 2G ram, Radeon 1600
video card w/512K ram.
--
Regards ... Chris
ISUG - NA RUG Director
Blog: http://chrispollach.pbdjmagazine.com
SourceForge: http://sourceforge.net/projects/stdfndclass
"Vlad" <vl...@NOSPAMpcr.ltd.uk> wrote in message
news:4b0a7307$1@forums-1-dub...
Thanks for your reply, although I'm fairly certain that it is not to do with
graphics card, as I have NVIDIA GeForce 8400 GS with 256 MB of dedicated
RAM, while Vista machine in question has Radeon X1300 Pro with 256 MB of RAM
(same amount of dedicated memory).
I guess I could try reverting the whole windows to the original XP Style and
see if that makes any difference? It is just such a strange problem,
everything from application display to database number-crunching works just
fine, it is simply selecting objects on painter.
"Chris Pollach" <cpol...@travel-net.com> wrote in message
news:4b0a938c$1@forums-1-dub...
I can not figure out why.
The only other thing I can think of is your default printer. The DW object
an its painter get its drawing information from the current printer. I
wonder if your printer does not have the fonts mapped properly? I have seen
that the odd time - not only does it make the DW painter slow but it also
makes the DW perform poorly at run time as well.
<Dave P> wrote in message news:4b0a9790.701...@sybase.com...
Is it for only certain datawindows or all of them? If it is only a few, I
would look to see if you have a bunch of function objects called from
computed fields. If there are alot or are very complex it could slow it
down.
"Chris Pollach" <cpol...@travel-net.com> wrote in message
news:4b0a9d62$1@forums-1-dub...
"Roland Smith [TeamSybase]" <rsmith_at_trusthss_dot_com> wrote in message
news:4b0ab9b5$1@forums-1-dub...
"Vlad" <vl...@NOSPAMpcr.ltd.uk> wrote in message
news:4b0a9655$1@forums-1-dub...
PB 12.0 Classic just as fast!
PB 12.NET is slower - however, its running under the .NET Isolated Shell and
its still early in the beta cycle (no performance tuning yet I would guess).
:-)
"Carl Richey" <ca...@richey.cc> wrote in message
news:4b0abe7c$1@forums-1-dub...
"Chris Pollach" <cpol...@travel-net.com> wrote in message
news:4b0acc9c$1@forums-1-dub...
Arthur
"Carl Richey" <ca...@richey.cc> wrote in message
news:4b0acf51@forums-1-dub...
"Carl Richey" <ca...@richey.cc> wrote in message
news:4b0acf51@forums-1-dub...
However, I can confirm what Carl said above - I have switched off the
"Properties" pane, and object-selection is virtually instantaneous.
Incredible. I switch it back on, and time of response is back to about 2
seconds, while it loads up all of the fields' properties. Obviously, I can't
work without Properties pane, so I guess I will have to suffer it unless I
can somehow report it officially (not just through newsgroups) to
Powerbuilder 11 team for further EBFs?
It's just very annoying that a Vista machine which has poorer specs &
graphics card does not seem to have this problem at all.
"Chris Pollach" <cpol...@travel-net.com> wrote in message
news:4b0acc9c$1@forums-1-dub...
I don't see that problem with the properties pane, but I do see the
slowdown if I have the preview pane open and rows retrieved. And the
more rows, the slower it is. I always just assumed it was a screen
painting issue.
"Rich Frantz" <richf...@gmail.com> wrote in message
news:7699a6e2-8ca7-467d...@o31g2000vbi.googlegroups.com...
"Rich Frantz" <richf...@gmail.com> wrote in message
news:7699a6e2-8ca7-467d...@o31g2000vbi.googlegroups.com...
"Vlad" <vl...@NOSPAMpcr.ltd.uk> wrote in message
news:4b0bdf64$1@forums-1-dub...
"Carl Richey" <ca...@richey.cc> wrote in message
news:4b0bfb3a$1@forums-1-dub...
It looks like I had more like 500 fonts and after running this I have around
250. I do see an improvement in performance in the datawindow painter, but
it's still nowhere near as responsive as PB8 was. Do you see absolutely no
difference whatsoever with the property pane visible or hidden? Selecting
multiple objects on a datawindow to align or move around is significantly
slower with the property pane visible for me.
"Chris Pollach" <cpol...@travel-net.com> wrote in message
news:4b0bfe59$1@forums-1-dub...
FWIW: I do see some latent delay when selecting 100+ columns in a big report
DWO - say 1-1.5 sec. But I got that in PB 8 as well.
"Carl Richey" <ca...@richey.cc> wrote in message
news:4b0c023d$1@forums-1-dub...
HKEY_CURRENT_USER\Software\Sybase\PowerBuilder\11.5\Layout
I had a similar issue, but do not remeber exaclty what did the trick,
But I remember it happend after I played to much with the panes...
Maybe that helps.
Arnd
"Arnd Schmidt" <arnd.s...@gmx.de> wrote in message
news:5ffog5pgr3mdkisgm...@4ax.com...
I took a look at my fonts, and I don't think I've got that many? I have 423
fonts, all of them came with Windows, apart from only one that I have added.
I may try cleaning up some, but I don't have high hopes for it, as Carl has
already said it's not a massive improvement.
To be honest, I almost feel resigned to switching the properties pane on/off
when arranging and aligning columns on the datawindow. It's only a halfway
solution as I still need to format the columns one by one for which I need
Properties pane, and it's going very slow, but it seems that there is no
hope.
Perhaps I will show this thread to my boss as a good reason for getting me a
brand new machine >:-)
"Carl Richey" <ca...@richey.cc> wrote in message
news:4b0c4801$1@forums-1-dub...
"Vlad" <vl...@NOSPAMpcr.ltd.uk> wrote in message
news:4b0d0df3$1@forums-1-dub...
--
Paul Horan[Sybase]
http://blogs.sybase.com/phoran/
"Vlad" <vl...@NOSPAMpcr.ltd.uk> wrote in message
news:4b0d0df3$1@forums-1-dub...
CloseFile C:\Documents and Settings\Vlad\Local Settings\Application
Data\Sybase\PowerBuilder 11.5\pb.ini SUCCESS
CreateFile C:\Documents and Settings\Vlad\Local Settings\Application
Data\Sybase\PowerBuilder 11.5\pb.ini SUCCESS Desired Access: Generic Read,
Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File,
Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a,
OpenResult: Opened
take by far the longest time, ranging between 0.13s to 0.23s sometimes. If
that means anything. Lots and lots of these, they do add up. Not sure if it
is, er, valid/expected that there is a gap of 0.1s-0.2s between these.
Last post, promise :)
--
Paul Horan[Sybase]
http://blogs.sybase.com/phoran/
"Vlad" <vl...@NOSPAMpcr.ltd.uk> wrote in message
news:4b0d53f6$1@forums-1-dub...
"Paul Horan[Sybase]" <phoran_remove@remove_sybase.com> wrote in message
news:4b0d5a08@forums-1-dub...
Just for a test, I tried it on my working-from-home laptop,
which has Vista, and lower specs on both processor and video
card - it's very quick.
Ken
"Vlad" <vl...@NOSPAMpcr.ltd.uk> wrote in message
news:4b0d0df3$1@forums-1-dub...
Looking at the results from Vlad's FileMonitor tests this 1.6 second delay
is precisely what I'm seeing. I'm curious as to what this sysinternals
filemonitor output would look like for someone not experiencing this delay.
"Chris Pollach" <cpol...@travel-net.com> wrote in message
news:4b0d25af$1@forums-1-dub...
Any more suggestions? It's giving me to much grief. I'm
running PB under Vista ultimate. The only way I can work
around it is by turning off the properties window.