yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] arciphera:
JZ:

first off, I want to say that I think JZ SmartMort is a marvelous extension/expansion for Windows Mobile. thank you very much for creating it.

now, for my problems with it, which are twofold:

whenever I copy more than 1024 characters to the clipboard, the following full-screen message pops up:

Your current selection is now fully in the clipboard. However, only the first 1024 characters will be available when choosing from the JZ Clipboard History.

​

this, technically, is not my problem; I understand JZ Clipboard History's character limit due to it being stored in the WM registry. (yes, I've read ALL of your documentation on the app posted at the beginning of this thread. *grin*) my problem is that, after I click OK on this screen/message to make it go away, it keeps popping up again every 15 seconds or so until I copy different text to the clipboard that is smaller than 1024 characters. honestly, I would like to disable the message entirely, as I don't need to be reminded of the character limit ever again, but I wouldn't have much of a problem with the message if it actually popped up only once each time I copied more than 1024 characters to the clipboard. is there any way to permanently disable it, or at least get it to only pop up only once per instance (of copying over 1024 characters of text)?

every 30 to 45 seconds, my entire phone slows waaaay down for about five seconds or so. this makes games visually stutter, as well as causing text I am typing to "freeze"...only to have whatever I've typed DURING said "freeze" suddenly spew out in an error-laden mass when the lag ends. it makes backspacing over text especially frustrating, too, due to the buffer catch-up characteristic of the OS (meaning that whenever this lag begins while I am holding the Backspace key down, even if I let up on that key right away, text keeps getting backspaced for several seconds longer after the lag ends, forcing me to have to retype more - sometimes far more - than I was intending to). is there a file that can be manually removed/disabled in order to stop such lag? (I am 100% certain this problem is being caused by JZ SmartMort, as uninstalling it completely fixes the lag, and reinstalling it brings the lag right back. [yes, I soft-rebooted after each installation/reinstallation during testing.])

those are the only problems I have with JZ SmartMort. otherwise, it's a beautiful thing that beautifully serves its purpose, and I am very thankful to have (and be able to use) it on my phone.

thanks for your time!

PS: my phone is a Samsung SCH-i220 with Windows Mobile 6.1 on it.
[Windows Mobile Apps and Games] JZ SmartMort:
Thanks for the kind words!

Problem #1 is a bug. I don't know what I was testing when I wrote that piece. I'll fix it for the next release.

Issue #2 is not good... do me a favor and go to JZSettings > MISC > Clipboard > Clipboard at startup --- change to OFF. Clipboard monitor is really the only piece that I leave around running (TSR as we used to call it in the 386 days :))

However, if you're using MortButtons, you may want to try with that feature turned off.

All the best!
[Windows Mobile Apps and Games] arciphera:
thank you for the quick reply. it's good to know the 1024-character-limit message will be fixed with the next release. :-)

I'm seriously bummed about the Clipboard Monitor causing the lag, however, because in order to prevent that lag I have to have it disabled upon startup. so yes, your suggestion worked - and thank you for that - but NOW what do I do to ensure that I always have an automatically running "backup" of everything I copy/paste? I use that function to a ridiculous degree, and there are countless times when I've copied something to my phone's clipboard, intending to use it moments later, only to forget about it and copy something else...then immediately breathing a sigh of relief when I realize I can go right into the JZ SmartMort clipboard history and retrieve that momentarily forgotten text.
[Windows Mobile Apps and Games] JZ SmartMort:
If you map a button to JZAction and use the copy/paste features then you'd still be able to use Clipboard History.

Kinda sucks that the background process is flaking on me. Maybe I'll put in some sleep statements there to make it not as CPU intensive all at once. The heavy piece is where I compare what's in the current clipboard vs. every entry in Clipboard History. I'll try slowing that down on the next release.

Thanks for the feedback!!!

JZ
[Windows Mobile Apps and Games] arciphera:
I actually thought of doing that, but then I realized that the options in JZ SmartMort's Clipboard Tools don't include "cut all" or "undo", which are two of the functions of VitoCopyPaste that I use the most. besides, it takes only one button-press-and-hold and one additional button-click to activate any of VitoCopyPaste's functions, whereas it takes a minimum of eight button-clicks to activate a single function of JZ SmartMort's Clipboard Tools. don't get me wrong - those tools are very nice to have in rare cases where VitoCopyPaste is unable to respond as normal (such as with the bundled version of Word Mobile [what the hell was M$ thinking, not including copy/paste functionality in that app??]), but for convenience's sake, it's just not practical...not for the speed at which I'm used to composing and sending SMS/MMS messages, anyway.

it does, yeah, but considering how excellent a job you've done on JZ SmartMort already, I think it's entirely understandable that little things like this would "slip through the cracks". the fact that I can report this stuff directly to you and get your input on it is priceless, compared to how it is with most other apps, whose coders seem to be shrouded behind a CIA-esque curtain of anonymity and unavailability (if not plain, simple nonexistence).

that would be most excellent of you. I'm sure any little bit in that direction would help immensely.

thank YOU for being open/receptive to it. even with the two bugs/flaws I've brought to your attention, SmartMort is STILL an invaluable tool to have on my phone - not just better than nothing, but better than everything else out there that has any comparable functionality whatsoever (and there's not much of that at all).
[Windows Mobile Apps and Games] JZ SmartMort:
Thank you! Being unique and having features that nothing out there really offers was and is still the main motivation. Quite honestly though, I use my tool a heck of a lot so it was really because I needed some gaps plugged in Windows Mobile. I'm just sorry to see Windows Mobile go in a direction that I don't like much with Windows Phone 7. I hate the fact that all software developed for well over 10 years is pretty much rendered useless and that's a LOT of usefull apps that made Windows Mobile the best choice for me. I think Android is going to be my next route but for now my HTC Pure is well and kicking for a while.

I'm attaching the file that you should throw into \Program Files\JZ\helpers --- you will see the 100, 200 & 300 millisecond versions. See if any of these alleviate the sluggishness in performance. I didn't fix the 1024 repeat warning problem just yet but it should be easy enough to do once I know which pause duration works best.

Thanks!

JZ
[Windows Mobile Apps and Games] arciphera:
I extensively tested all three JZClipboard files, doing a soft reboot after each (re)placement in the helpers folder, and these are the results I got.

the 100-millisecond version fixed the lag that was happening every 30 to 45 seconds, but it replaced it with a constant second-by-second jitter that makes game-play very difficult/irritating and videos/animation almost unbearable to watch (although, interestingly, it is not at all discernible during texting). the 200-millisecond version is far better, but there's still too much jitter for comfort. the 300-millisecond version, however, causes so little jitter that it's hard to complain about it at all. it's technically still there, but it's so slight/minimal that I'm willing to consider the problem pretty much resolved now - enough to make ME happy, at least.

I will admit that I'm tempted to ask you to make a 400-millisecond version of the JZClipboard file, because I'm thinking it would likely cause so little jitter as to be completely invisible/undetectable, but I don't know what adverse performance issues that might cause for the JZClipboard overall. I suppose you would have already made a 400-millisecond version for me to test if there wasn't good reason to expect it to be problematic, but what do I know?

anyway, I said before (in a previous post) that I was sure any coding changes you made to the SmartMort Clipboard would help immensely, and I was right. if you implement the 300-millisecond revision in the next release/update of SmartMort, I will be more than happy, satisfied, and thankful, because even with the very slight jitter it causes, it's a thousand times better than the lag that was happening before, and that's something I wasn't hopeful I would ever see go away.

once again, thank you. :-)
[Windows Mobile Apps and Games] JZ SmartMort:
Here you go buddy... 400 ms and the 1024 repeat fix. Let me know how you like it.
[Windows Mobile Apps and Games] arciphera:
much thanks! that file is indeed even better on the jitter: there's virtually none now. (none! wow!) and the 1024-message repeat issue has been fixed, too - mostly. it no longer repeats over and over and over...but it still repeats once (ie: it appears twice). whenever I copy more than 1024 characters to the clipboard, the message pops up after about 30 seconds, I click OK...and then, about 30 seconds after that it pops up again. once I clear it the second time, it permanently stops popping up (until I copy more than 1024 characters to the clipboard again, anyway), so that IS a fix/improvement...but I'm sure it shouldn't be popping up a second time. in light of this, an idea occurred to me...

is it possible for you to just eliminate the message altogether so that it NEVER comes up? I know it's important for it to appear at least once, so as to avoid unpleasant surprises for (and complaints from) new users who naturally assume the JZClipboard history has no length limit, but I really have no need to ever see it again myself. besides, it doesn't pop up right away; it takes a good 30 seconds or so for it to appear the first time (never mind the second), and by then I'm already well underway in whatever I'm doing / wherever I'm going (in my phone) with the 1024+ characters I've just cut/copied, so even the message's first appearance tends to be interruptive/intrusive/annoying to me.

also, I'm thinking - and this is just a suggestion - that you could add a setting to the next version/update of SmartMort that gives the user the option to turn the message off permanently (it being turned on by default upon installation, of course), perhaps with a "do not show this message again" checkbox at the bottom of the message itself.

what do you think? if you don't see my suggestion as viable/workable, could you at least remove the message completely from the JZClipboard file just for me? because if you did that...well, that would be another wow. :-D
[Windows Mobile Apps and Games] JZ SmartMort:
Weird, mine does not do that... it only did it once with the 1024 message. Uploading a new attempt, see if it works for you.

I can probably add an option in but cannot do a checkbox with don't show again because MortScript does not have it available for me.

Thanks!
[Windows Mobile Apps and Games] arciphera:
that fixed it. it is now only coming up once on my phone, as well. I'd still love a setting giving me the option of disabling it completely, though. ;-)

thanks!
[Windows Mobile Apps and Games] JZ SmartMort:
Thank you very much for supporting the app and my work by donating! I really appreciate it. I will definitely incorporate a feature to disable in the next release which will be under JZSettings > MISC > Clipboard options.

For now though here's a custom version for you that simply does not warn you anymore. Give that a go...

All the best!

JZ
[Windows Mobile Apps and Games] arciphera:
I appreciate the work you've done, especially on the fixes I've alerted you to. besides, I've paid far more for WM apps that benefit me far less than JZ SmartMort does, so if you ask me, I got a hell of a "deal" with that donation. :-)

I look forward to seeing that setting incorporated, and thank you very much for the JZClipboard file that provides that setting's benefits now. it works perfectly.

just out of curiosity, what exactly do the 100-, 200-, 300-, and 400-millisecond JZClipboard files tell JZ SmartMort to do differently from the file that currently installs with the app? I know (from what you've said previously) that something is slowed down, but does that mean JZ SmartMort checks the phone's clipboard at a slower speed, does it merely make the intervals longer between each clipboard check, or does it do something else entirely?
[Windows Mobile Apps and Games] JZ SmartMort:
Basically, I have two loops... one reads (all clipboard content) from the registry so the current clipboard content can be compared against it. The other writes the clipboard content to the registry if there is a difference noticed. So these loops should not be that heavy but obviously they are since I noticed the same thing as you. In the middle of those loops I added a sleep(400) command to slow it down... that's pretty much it.

I may make it smarter by not reading from the registry for each compare and instead keep them as variables around until a change is noticed... something along those lines.

Thanks!

JZ
[Windows Mobile Apps and Games] arciphera:
thanks for the explanation. it makes a lot more sense to me now as to why the lag/jitter was happening. not that I'm about to start coding in SmartMort or anything. :-]

would that perhaps eliminate any chance of lag/jitter due to using virtually no resources at all (or at least far less than it currently does, even at 400-millisecond sleep modification)?

also, another suggestion occurred to me today that I've been meaning to mention to you for a while now: the menus in JZ Action and JZ Settings don't recognize/support the Enter button on my phone. I can immediately navigate to (and thus highlight) a selection in the menus by pressing the corresponding letter on my phone's keypad, but I have to press the OK soft button in order to actually select/activate the highlighted option; pressing Enter merely results in a beep (the one which signifies an error). do you think you could modify JZ SmartMort so that [a] pressing Enter activates the highlighted menu selection, and pressing the corresponding letter simultaneously navigates to AND activates the menu selection (such as pressing the corresponding number in default WM menus does)?
[Windows Mobile Apps and Games] JZ SmartMort:
Yes it would possible reduce resources but not in the case where the clipboard content has changed.

I'm kind of scared of touching stuff that works so there is a risk of redoing this logic as it's very touchy.

BTW, I cannot change the menu functionality because that is all MortScript.

Thanks!

JZ
[Windows Mobile Apps and Games] arciphera:
but that would be perfect, because the moment in which the clipboard content has changed would be a moment - the only moment - where potential lag/jitter wouldn't even matter, since the user would be busy pasting text rather than composing it. that's what I'm envisioning, anyway. (if I'm overlooking something, feel free to correct me.)

if you want, I will be your beta tester for any changes you make, so that you have a full report on the results of said changes before you release them into a publicly distributed build. my phone has a lower amount of RAM and CPU resources than most WM devices out there, too, so you'll have the assurance that if whatever you do works well with mine, it'll probably work well - or even better - with anyone else's.

ah well. didn't think it could hurt to ask. :-)
[Windows Mobile Apps and Games] addicus:
Hey JZ I am having an issue that I have never ran into previously. It is not stopping me from using the program, but pops up everytime I start the phone and is kind of annoying. I attached a screen shot. Please advise on how I can fix it.
[Windows Mobile Apps and Games] JZ SmartMort:
Very weird... looks like you don't have write access to the start up folder. See if that key exists in the registry and what its value is. Then go to the folder and try to create a file there... just for a test so we know the answer. However, I've modified JZCABInstaller.mscr and attaching it here. It now has a TRY/CATCH so that at least it continues and does not trip on you.

Put the file under \Program Files\JZ\helpers, rename it to get rid of the .txt extension and take a reboot.

Thanks!

JZ
[Windows Mobile Apps and Games] JZ SmartMort:
OK I'm ready for you... all of the logic has been added including a menu item to disable the 1024 warning but if you can please don't use that until you've done a bit of testing. I now "remember" the last clipboard content and don't initiate the two loops until "the last" differs from "the new" clipboard content.

Put all of the files from the zip into the helpers folder.

Thanks!

JZ
[Windows Mobile Apps and Games] arciphera:
after extensively testing the modified JZ files for 48 hours or so (which I would have done sooner, but was unable to due to being out of town over the weekend), this is what I've found/determined:

all lag and jitter is gone, even immediately following updates to the clipboard (via copy/cut). for all the resources the JZ Clipboard is supposed to take up when it updates itself, my phone (a weaker/slower model than most other WM 6.x devices) shows no adverse affects to it whatsoever. thus, I would say the newly coded JZ files appear to have solved that problem completely.

the added feature for disabling the 1024 Character Warning is nice, too; it works just as it should. in addition, the warning is still coming up on my phone only one time for each instance of copying/cutting more than 1024 characters to the clipboard, so that particular fix has successfully carried over with the newly coded JZ files, as well.

one issue I'm seeing now that you might want to work on is that whenever I copy/cut more than 1024 characters to the clipboard while the 1024 Character Warning is enabled, a good 30 to 45 seconds passes before the warning appears. this is a bit of an annoyance, as it makes it seem as though the warning is suddenly/randomly appearing out of nowhere and/or for no reason, since the user (ie: me) is usually by that time already well past copying/cutting/pasting the text in question. granted, disabling the 1024 Character Warning (which I, of course, have opted to do) "solves" this particular problem by simply eliminating the appearance of the warning altogether, but I thought you'd want to know about this issue anyway for all the users out there who prefer to NOT disable the warning.

I hope this helps, and thanks again for all your outstanding work!

PS: I'm thinking Clipboard 1024 Character Warning in the JZ Settings menu should be changed to Clipboard 1024 Character Alert or Clipboard 1024 Character Notification, since that message seems (to me) to be more of an alert/notification than an actual warning. just my two cents. :-)
[Windows Mobile Apps and Games] JZ SmartMort:
Great... this is good news. I've used your verbiage for the menu item and I flipped it where users have to activate the warning rather than having it on by default.

The reason why it takes long before the warning comes up is because that's when the Windows Mobile clipboard contents make it into JZClipboard --- because I modified those loops to take longer. I knocked them down to 200 milliseconds rather than the 400 we settled on because now the loop is only activated when the clip contents are different than before.

I'm attaching the new code, see if it's still resolving your issue well... and didn't create new problems.

Thanks!
[Windows Mobile Apps and Games] arciphera:
much improved as far as the time it takes for the 1024 Character Alert to appear, and no recurring/additional problems have arisen that I can see, either (which I've been watching for VERY carefully). the alert is still (usually) taking a good ten seconds to appear, though, so I'm wondering if it might be even better to lower the loop back down to its original 100-millisecond setting, since there's now no lag/jitter to worry about. this is just a suggestion/consideration on behalf of the (few?) users who will prefer to have the alert enabled; as I've said before, it will be disabled on my own phone. still, I know you want your app to work as professionally (and to be as user-friendly) as possible, so this suggestion is only intended to help you accomplish that as best/closely as possible. :-)

that being said, whether you make any further changes to the code or not, I'd say the ones you've already made have improved the app a thousand percent, and I for one am MORE than happy/satisfied with it now.

as always, thank you.

PS: when are you planning on officially releasing the next version of JZ SmartMort? I'm just curious - not because I myself need it (I already have the files you've been recoding, so I'm good to go), but because I'm wondering when I'll be able to refer the app to other (less savvy) Windows Mobile users to download/install on their own devices. I would assume you're at least waiting until the tweaks you and I have been working on are finished before implementing them into the actual JZ SmartMort installer, but I'm wondering if you're waiting on anything else, as well. so yeah, just curiosity here...with a slight "anticipatory agenda" to it. ;-)
[Windows Mobile Apps and Games] JZ SmartMort:
Attaching the 100 millisecond attempt.

I'll release it in another few weeks. Not too long... I've been planning to for a while with the few fixes that I've incorporated so far.

Here's a sneak peek:

JZAction: Clipboard shortcut error on installation when \Windows\StartUp cannot be written to

JZAction: Slowed down Clipboard compare/parse to use less device resources

JZAction: Fixed Clipboard History repeat warnings on large entries

JZAction: Added option to suppress Clipboard 1024 warning

DONE - JZBrowser: Added NetFront 4.1 R1 support

DONE - JZBrowser: Added UCWEB 7.4.0.65 support

DONE - JZBrowser: Verified BOLT 2.31

DONE - JZBrowser: Opera Mobile 9.x and 9.7 took out double-quotes around the URL parameter

DONE - JZAction: Fixed 3G toggle to press yes when a verification window is presented

DONE - JZSettings: Fix help file opening in background

DONE - JZTweaks: Fix security tweak and added a warning

Thanks!

JZ