Welcome Guest.   Make a donation to an author on the site November 01, 2014, 06:12:58 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
The N.A.N.Y. Challenge 2013! Download dozens of custom programs!
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Clipboard size limit  (Read 2736 times)
Boydon
Supporting Member
**
Posts: 24

see users location on a map View Profile Give some DonationCredits to this forum member
« on: March 13, 2011, 04:43:38 AM »

Hello, it is always me and I think I've found another bug.

If I remove the max size in bytes (set i to 0) and then I copy a large clip of text (21298 bytes) CHS crashes. Same thing happen if I set the limit to 30000 bytes and then copy the same clip.

I also have another request: I would like to have CHS to ALWAYS display the last 50 items I've copied, but I can't understand how (the option I have to change), although the items are correctly displayed in the new database they do not appear in the Quick Paste Menu.

Thank you very much.
Logged
mouser
First Author
Administrator
*****
Posts: 33,615



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: March 13, 2011, 10:46:45 AM »

All I can say is keep the bugs coming -- I appreciate the help finding them!

I will check into the large clip text bug. It's an interesting question about what the maximum clip size is going to be, but certainly there is no excuse for crashing.  What I may have to do (decide to do) is make it so that after a certain size, if you still wants CHS to save huge text clips, it will do so in external files, much in the same way that i am planning to handle images.  So that if you want CHS to save 10mb text clips, i could allow it, but the clips wouldn't go into the normal database -- instead they would be saved to files linked from the database entries.

As for wanting to display the last 50 items in the popup, im not sure what kind of limit i put on it.. i'm assuming you did find the option for how you tell it how many to show and can change that successfully, except that it just won't go up to as many as you want it to, is that right?
Logged
Boydon
Supporting Member
**
Posts: 24

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #2 on: March 13, 2011, 02:24:30 PM »

As for wanting to display the last 50 items in the popup, im not sure what kind of limit i put on it.. i'm assuming you did find the option for how you tell it how many to show and can change that successfully, except that it just won't go up to as many as you want it to, is that right?

I found the option and i set it correctly. The problem I have is that when I don't use the PC for a while (i switch it off for example), when I start a new session the items are in the "New" DB, but the Pop Up is empty. I would like if possible to always have the last 50 clips I used, no mater what.  I hope I explained myself well.
Logged
mouser
First Author
Administrator
*****
Posts: 33,615



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: March 13, 2011, 02:35:16 PM »

ah yes i know your problem -- it has nothing to do with 50 it has to do with the additional date/time cutoff in the sql for the quick paste group.

Right-click on the Quick Paste group and edit it and modify the SQL for the virtual folder.  by default it's: "NOT (IsInRecyleBin) AND (ModificationDateTime>=DateTimeMinusOneHour)"
if you change that to just "NOT (IsInRecyleBin)" you might see what you want.
Logged
Boydon
Supporting Member
**
Posts: 24

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #4 on: March 13, 2011, 03:03:35 PM »

Right-click on the Quick Paste group and edit it and modify the SQL for the virtual folder.  by default it's: "NOT (IsInRecyleBin) AND (ModificationDateTime>=DateTimeMinusOneHour)"
if you change that to just "NOT (IsInRecyleBin)" you might see what you want.

I didn't realize that the Quick Paste was handled like a virtual folder. Really nice.
One more thing tongue is there a way to make the preview of the clip shorter than 100 chars for longer clips?
Logged
mouser
First Author
Administrator
*****
Posts: 33,615



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: March 13, 2011, 04:24:13 PM »

Quote
is there a way to make the preview of the clip shorter than 100 chars for longer clips?

Should be on the Quick Paste Pop-up Menu options tab.
Logged
Boydon
Supporting Member
**
Posts: 24

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #6 on: March 15, 2011, 04:37:18 AM »

Am I missing it?



About large clip: if you store them in file then would you be able to use the search feature? Maybe you could think of a way to split larger entries in more DB entries. Just my two cents. smiley
« Last Edit: March 15, 2011, 04:40:01 AM by Boydon » Logged
mouser
First Author
Administrator
*****
Posts: 33,615



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: March 15, 2011, 01:51:37 PM »

Quote
if you store them in file then would you be able to use the search feature
no you would not, that would be the tradeoff to be paid for storing 10mb text clips smiley

Regarding clip menu title size i thought it was Maximum Implicit Title Size but that must be something different; i will add option to set length limit for menu excerpt.
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.027s | Server load: 0.04 ]