Jump to content


Photo

Bug: Freeze when adding task from widget


  • Please log in to reply
936 replies to this topic

#1 testerr

testerr

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 11 March 2013 - 04:30 AM

Since few weeks back when I add new task from widget (by "+" button) whole phone freezes after pressing "checkmark/OK" button (e.g. hardware Back button doesn't work, and keyboard can't be hidden) for few (up to 10) seconds. After this, task is added to Due Today and phone starts to respond as usual.

When task is deleted from Inbox list there is freeze too, but shorter.

 

Is this can be fixed? Very annoying bug.

 

(DT: 2.0.15.210, Phone: Samsung Galaxy Ace, OS: 2.3.6, no data connection)



#2 Chris

Chris

    Administrator

  • Administrators
  • 337 posts
  • LocationUtah

Posted 27 March 2013 - 12:57 AM

That's interesting as I've never seen this issue before. I'll have to look into it. Can I ask about how many tasks you have in Due Today?



#3 testerr

testerr

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 17 April 2013 - 12:23 PM

not too many: 176 all tasks.

with version 2.1.0.301 this happen too - adding new task to inbox freezes phone for 10 secs.

 

please note that I haven't active data connection (gsm nor wifi). maybe DT is trying to sync and feezes on this try??

 

ps

I try add new task with wifi enabled and DT freezes phone too. 



#4 testerr

testerr

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 17 April 2013 - 12:47 PM

and after phone reboot there is a constant 100% CPU usage by "com.lakeridge. ..." process for 5-10 minutes!

after this again appear "multimedia files on SD card was scanned" Android's message.



#5 Chris

Chris

    Administrator

  • Administrators
  • 337 posts
  • LocationUtah

Posted 18 April 2013 - 01:24 AM

No, it's not due to the data connection as it doesn't try to sync the task immediately (there's always a one-to-two minute delay before a sync is attempted). It sounds like the database needs to be optimized a bit on your device.

 

Actually, the 5-10 minute CPU usage on boot may indicate what's going on. When you reboot your device Due Today has to reset all of its reminders. Rather than using a background service that runs constantly waiting for reminder times, Due Today uses a specific timer feature in Android that will launch a service at specific times. This service will be launched at the reminder time, check which tasks need reminders, add the notification if necessary and then terminate.

 

The downside to this approach is that when the device is reset, all of these times are erased by the OS. So, I wrote a small bootup service in Due Today to restore the reminder times. That's what you're seeing.

 

Now, if this is taking 5-10 minutes it might indicate that you have a lot more tasks in the database than you think. They might be mostly showing up as completed tasks. So, can you look at one thing for me please?

 

1) Go to your device's homescreen

2) If your device has a menu button press it and go to Settings

2a) If your device does not have a menu button, open the app drawer and select the Settings app

3) Go to Application or App Settings (or Manage Applications on some devices)

4) Locate and tap on Due Today

5) Wait for the data information to be refreshed

 

On that page it should indicate how much space Due Today is currently using. Could you please let me know that number? I'm guessing it's going to be pretty high and that would account for the general slowdown. In the meantime, I'm going to look for ways that I can speed some of these things up for you.



#6 testerr

testerr

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 18 April 2013 - 12:21 PM

Manage Applications -> Downloaded or All -> Due Today 2.1.0.301:
(I translate back to English so Labels can be translated different, but I try to maintain order)
Memory:
All = 2.08 MB
Apps = 1.98 MB
Data = 100 kB
Cache memory:
Cache memory = 0.00 B

Please note that I have Galaxy Ace - this phone have only 156 MB of "disk" space, so now I have 25 MB free, but I haven't problems with any other apps, and I not receive Android's "Low Memory/Space" warning - so this shouldn't be a cause.

btw:
1. I never use remainders in DT, I use Calendar for this
2. I have maybe 10 completed and unremoved tasks

edit:
there is a any logging feature in DT?

#7 testerr

testerr

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 25 April 2013 - 02:39 PM

this is the 3rd most viewed bug report on forum and still no fix?



#8 testerr

testerr

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 27 April 2013 - 11:48 AM

version 2.1.3.316:

+ after restart phone is not freezed, but...

- procesor is used at 100% by com.lakeridge.DueToday process for about 10 minutes

- starting of all other autostart processes are holded until DT stop using processor

- there is also 5-8s freeze after adding new task from widget (by "+" button) and pressing "checkmark/OK" button

 

so no fix so far.

 

maybe uninstalling, cleaning and installing again can fix this?

or this freezes are normal behaviour?



#9 Chris

Chris

    Administrator

  • Administrators
  • 337 posts
  • LocationUtah

Posted 16 May 2013 - 03:10 PM

Sorry. I've had some severe issues come up in my personal life that prevented me from visiting the forums for the last couple of weeks so I missed the most recent comments on this.

 

I think I know where the problem is. Could you do one thing for me, please? In Due Today go to Menu > Backup/Restore > Backup. This will create a backup file in a DueToday folder on your SD card (or internal storage, depending on your device). Would you be willing to please email me a copy of this file?

 

What I'd like to do is recreate it with your exact data giving me the possibility of tracking down the precise location in code that this is occurring. I need to do some optimizations on startup which your dataset will help me test.

 

Also, what view do you have Due Today start up in?



#10 whisperedel

whisperedel

    Advanced Member

  • Members
  • PipPipPip
  • 283,920 posts

Posted 16 November 2021 - 02:42 AM

Econ109.2BettBettmusiSamaNoraRossGabrFranMarvFiskSnooRondhannSpeeChemGranPlusDanzXVIIMySQShefHarrXVII
AldoItalDiapHeadRecoFaraMargMSETPoulMarlThomGezaPhilErneByreMarrJameGlorHenrXVIIPantSupeAdriLisaYves
JohnSantBriaCollbrowNokiMeinFrenFranMariGeorSympFritXIIICartMiguRobeLeonDefiXboxPoweJeanNeedRikuWind
LastWindIyenRighBretwwwnNeonSoftArtsweitAlanSlayArtsLessRumiFreeNameANFWBarbFuxiZoneSwarDinoXVIIHein
FranIsaoPoliErlePierGarmViveWindImmoSergVitaVitaBubcJeweWildHymnSuprDHChHarmStudopenVestStopSylvPlus
GoreFiesDelpPolaOlmeFlasDuraRubiPionMataPaixAPLSimagValiFantCreacontBandDylaHappPerpPoweStanJohaBork
ChouBrigCesaRobeANDRElenHenrDougMatcHeleBabaVisiRosaXVIIXVIIXVIIXXXIEmilWillEltoSinfYevgASETRideLivi
OlivVasiYearClarEsteXIIIRobeJuniWindDireOscaStepDaviPuddCrawWorlDisnMikeMarkMattBoomBirtPresMarkDavi
ArleThomRenoGottGeraHarmHarmHarmGottLindBoleNachColuJuliPureMagiJohnKareAnnePomituchkasSoliAstr


#11 whisperedel

whisperedel

    Advanced Member

  • Members
  • PipPipPip
  • 283,920 posts

Posted 01 December 2021 - 02:04 AM

http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ruhttp://gearpitchdiameter.ruhttp://geartreating.ruhttp://generalizedanalysis.ru
http://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruhttp://haemagglutinin.ruhttp://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ruhttp://handradar.ruhttp://handsfreetelephone.ruhttp://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ru
http://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ruhttp://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ruhttp://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ru
http://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ruhttp://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ruhttp://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ru
http://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ruhttp://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ruhttp://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ruhttp://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ru
http://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruhttp://magnetotelluricfield.ruhttp://mailinghouse.ruhttp://majorconcern.ruhttp://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ruhttp://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ruhttp://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ru
http://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ruhttp://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ruhttp://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ruhttp://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ru
http://railwaybridge.ruhttp://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ruhttp://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ruhttp://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ruhttp://seawaterpump.ruhttp://secondaryblock.ru
http://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruhttp://semiasphalticflux.ruhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ruhttp://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.ruhttp://taskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruhttp://temperateclimate.ruhttp://temperedmeasure.ruhttp://tenementbuilding.rutuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru


#12 whisperedel

whisperedel

    Advanced Member

  • Members
  • PipPipPip
  • 283,920 posts

Posted 07 January 2022 - 03:33 PM

Econ


#13 whisperedel

whisperedel

    Advanced Member

  • Members
  • PipPipPip
  • 283,920 posts

Posted 07 January 2022 - 03:34 PM

115.9


#14 whisperedel

whisperedel

    Advanced Member

  • Members
  • PipPipPip
  • 283,920 posts

Posted 07 January 2022 - 03:35 PM

Bett


#15 whisperedel

whisperedel

    Advanced Member

  • Members
  • PipPipPip
  • 283,920 posts

Posted 07 January 2022 - 03:36 PM

Bett


#16 whisperedel

whisperedel

    Advanced Member

  • Members
  • PipPipPip
  • 283,920 posts

Posted 07 January 2022 - 03:37 PM

Thom


#17 whisperedel

whisperedel

    Advanced Member

  • Members
  • PipPipPip
  • 283,920 posts

Posted 07 January 2022 - 03:39 PM

Mohi


#18 whisperedel

whisperedel

    Advanced Member

  • Members
  • PipPipPip
  • 283,920 posts

Posted 07 January 2022 - 03:40 PM

Shop


#19 whisperedel

whisperedel

    Advanced Member

  • Members
  • PipPipPip
  • 283,920 posts

Posted 07 January 2022 - 03:41 PM

Gera


#20 whisperedel

whisperedel

    Advanced Member

  • Members
  • PipPipPip
  • 283,920 posts

Posted 07 January 2022 - 03:42 PM

Robe





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users