ZhennanWu

Results 7 issues of ZhennanWu

# Bug Report ## Problem ### What is expected to happen? File APIs working normally and return a valid Entry or a valid error code. ### What does actually happen?...

旋转屏幕导致Activity重建,导致WebView被重建,用户输入全部丢失 在2015年之后安卓官方移除了WebView.restoreState()恢复状态的功能,所以目前没有可靠的恢复WebView状态的方法。除非手动处理屏幕旋转事件,屏蔽Activity的自动重建,但这样有污染整个项目的问题。 最近我也在写基于WebView的编辑器,也遇到了这方面问题,感觉这个思路有点走不下去。如果有什么见解,欢迎交流哈

(This is a proof-of-concept PR in case anyone is also interested in this functionality) While using this incredible crate, I encountered a usage pattern where the constructed results almost 100%...

If I've not mistaken then `Shared::poll` will wake up the very same waker that was actually polling it, and return a `Poll::Ready` at the same time. https://github.com/rust-lang/futures-rs/blob/bb63c376ca2d3f277f7bfb2b178c913faa00b947/futures-util/src/future/future/shared.rs#L347-L352 Which is confusing...

This bug happens when the return type has a lifetime bounded by `&self`. Because in the vtable, `&self` is casted into a lifetime-less raw pointer `ffi::c_void`, therefore the vtable method's...

bug

Currently this crate only generate thin Box pointers, it would be great if it also supports other std smart pointer types. Additional attributes can be introduced to flag the generation...

enhancement

Currently the guarantee we have is "A higher priority will cause the task to be run sooner". It would be helpful to document more details about this priority mechanism. The...