Mailspring icon indicating copy to clipboard operation
Mailspring copied to clipboard

Reading pane crashes when scrolling up using arrows

Open thertz opened this issue 8 years ago • 7 comments

When writing a response to an email if I mistakenly use the up arrow, the reading pane crashes with the following Error:

Error: Failed to execute 'setStart' on 'Range': The offset 4294967295 is larger than the node's length (1). at findDOMRange (/usr/share/mailspring/resources/app.asar/node_modules/slate-react/lib/utils/find-dom-range.js:37:5) at Content._this.updateSelection (/usr/share/mailspring/resources/app.asar/node_modules/slate-react/lib/components/content.js:154:46) at Content._this.componentDidMount (/usr/share/mailspring/resources/app.asar/node_modules/slate-react/lib/components/content.js:113:13) at commitLifeCycles (/usr/share/mailspring/resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:149:193) at b (/usr/share/mailspring/resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:158:229) at m (/usr/share/mailspring/resources/app.asar/node_modules/react-dom/cjs/react-dom.production.min.js:169:217) at w (/usr/share/mailspring/

Are there any related issues?

...

What operating system are you using?

...

What version of Mailspring are you using?

...

--

Bug?

Do you have any third-party plugins installed? If so, which ones?

...

Is the issue related to a specific email provider (Gmail, Exchange, etc.)?

...

Is the issue reproducible with a particular attachment, message, signature, etc?

...

--

Feature Request?

Does this feature exist in another mail client or tool you use?

...

thertz avatar Jun 24 '18 22:06 thertz

Hey thanks for reporting this — this seems to be happening quite a bit and I'm trying to create a case that allows me to reproduce it reliably. I'll let you know if I can track it down.

bengotow avatar Jul 08 '18 07:07 bengotow

I am facing this too with the latest Mailspring on Mac High Sierra. Searching issues show that this bug exists for a while already. Any ETA for fixing please?

phamhung77 avatar Aug 22 '18 05:08 phamhung77

I'm facing this problem too :-( Note that that offset (4294967295) seems to be -1 interpreted as a no-sign number (positive).

Is there a way to recover from that error?

cr1st1p avatar Nov 26 '18 12:11 cr1st1p

Hi, I use the reload command from the developer menu (not sure this is the name, not in front of my laptop)

On Nov 26, 2018, at 14:46, cr1st1p [email protected] wrote:

I'm facing this problem too :-( Note that that offset (4294967295) seems to be -1 interpreted as a no-sign number (positive).

Is there a way to recover from that error?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Foundry376/Mailspring/issues/950#issuecomment-441626794, or mute the thread https://github.com/notifications/unsubscribe-auth/ALe2yj0D1_5lebwjTe4edsKSTrC9wiu_ks5uy-K_gaJpZM4U1Uag.

thertz avatar Nov 26 '18 12:11 thertz

@thertz thank you for the tip.

cr1st1p avatar Nov 26 '18 12:11 cr1st1p

Note: this is related to #921

bengotow avatar Mar 26 '19 15:03 bengotow

Hey folks! This should be addressed in the latest release (1.6.3) that shipped earlier this week. The app should auto-update on it's own, or you can grab the new version from the releases page: https://github.com/Foundry376/Mailspring/releases/. Thanks for filing this - enjoy the update!

bengotow avatar Jul 04 '19 13:07 bengotow