Drutol / MALClient

Not so small client app for Myanimelist.net - Windows 10 UWP & Android
GNU General Public License v3.0
354 stars 32 forks source link

Some stuff in the UWP version #122

Open Guerra24 opened 7 years ago

Guerra24 commented 7 years ago

New report will be added as a reply to this issue. Please do not close this issue. UWP edition of #121.

Icons:

Feel free to edit.


Drutol commented 7 years ago

I'll do this on Friday probably, where can I order 2nd pair of hands? ;d

Drutol commented 7 years ago

Update: well I've caught a cold and I was unable to do anything today :(

Guerra24 commented 7 years ago

The Anime recommendations crash still happens, at least for me. Vid

Drutol commented 7 years ago

Does window size has anything to do with recommendations crashing?

Guerra24 commented 7 years ago

No, maximized or any other size still crashes.

Drutol commented 7 years ago

And it changes to the different mode when it has more space before crash?

Guerra24 commented 7 years ago

Yes, if maximized it shows the bottom bar.

Drutol commented 7 years ago

Hmm, is any of these devices yours?

image image

Guerra24 commented 7 years ago

No, I'm using a custom pc.

Guerra24 commented 7 years ago

I would say that the UWP app is broken, since I have some free time I will start working on fixing this. I don't know much about UWP but have used C# in the past.

Drutol commented 7 years ago

Yes, I've fixed this but I was waiting on feedback regarding freezes so I didn't push an update yet.

Guerra24 commented 7 years ago

I mean, fix all they issues listed here.

Drutol commented 7 years ago

Oh okay, good luck, getting some help would be huge booster ^^ I was on my phone so I couldn't edit it as I usually do.

Guerra24 commented 7 years ago

The resizing crash... Visual Studio is unable to handle the exception, I'm unable to debug this crash. Looks that is something in the win32 side, way below in the system. SO, this bug is here from the beginning (most probably) or was introduced with an update.

Guerra24 commented 7 years ago

The anime list system isn't the issue, it works correctly. There is something that gets triggered at a specific size.

Drutol commented 7 years ago

Noooo please no... I've been fighting with this once for a long time... in the end it turned out that for some reason pivot with "Watching,Completed" etc was causing it when its index was set via binding. It was pure luck back then.

No wonder crash reporting isn't helpful...

Guerra24 commented 7 years ago

And the "Anime recommendations" crash caused by an "Access Violation Exception" img

Drutol commented 7 years ago

Pivot again...

Drutol commented 7 years ago

Try removing custom styles from these pivots?

Drutol commented 7 years ago

How is it going?

Guerra24 commented 7 years ago

Now I hate visual studio, just saying xD. The VS project system is awful.

Guerra24 commented 7 years ago

And yes, removing the custom styles fixes the crash. Video

EDIT: After some testing the source of the crash are the Selection States, removing that code fixes the crash.

EDIT2: Recommendations crash is the same, removing the selection states fixes it. Video

Drutol commented 7 years ago

Well I don't see any issue with project structure in vs. For me the java one is much more messy.

Vs is mediocre without ReSharper though.

I'll look into it today, thanks! ^^

Drutol commented 7 years ago

Hmm I was unable to check it out because "android open beta"... I will though as soon as I can

Drutol commented 7 years ago

It looks like MS changed pivot style completely with some update...

Drutol commented 7 years ago

I want to rewrite everything so badly now that I see some things that were here from day-one, god what monstrosity is this...

Drutol commented 7 years ago

Nothing has changed in HeaderItem which has these styles though...

Drutol commented 7 years ago

They won't work because I don't have the data yet while arranging these items, once the data is here notice that they are sorted correctly.

Guerra24 commented 7 years ago

mmm... if that's the case, it needs the "Load all details" button or triggering the "load details" when sorting.

Drutol commented 7 years ago

It would require too many requests, if user wants to have everything pulled he just needs to: image

Guerra24 commented 7 years ago

The "Load all details" is not available in search mode. img

Drutol commented 7 years ago

Hmm it was hidden as it was useless in certain contexts and I seem to have missed valid ones... Fixed

I'm planning to push UWP update today.

Drutol commented 7 years ago

I wonder whether MSFT fixed these issues with freezing somehow.

Drutol commented 7 years ago

Wat. It always happens?

Guerra24 commented 7 years ago

Yes, it's consistent. Go into plan to watch, then sort by season, scroll down then scroll up will trigger it.

Drutol commented 7 years ago

You just have broken computer... crashes on resize, memory leaks... it all works for me.

I don't know even where to start to fix it. Maybe you could ran memory profiling in visual studio. It has nice stats how many objects are allocated.

Guerra24 commented 7 years ago

"It's all on my mind" xD. I'm going to do some testing and try on a friend's pc, just in case you're right.

Guerra24 commented 7 years ago

@Drutol, What version of Visual Studio do you use?

Drutol commented 7 years ago

2017 Community (15.2)

Guerra24 commented 7 years ago
Drutol commented 7 years ago

This is on new update?

Guerra24 commented 7 years ago

Yes.

Drutol commented 7 years ago

Got it, fixed.

Guerra24 commented 7 years ago
Drutol commented 7 years ago

Hmm I'm not sure whether MAL returns generic error here or states the reason...

Guerra24 commented 7 years ago

πŸ’™ Unexpected update, love it ❀️

wtf

Drutol commented 7 years ago

You're welcome :D

I really hate your brown accent colour ^^ Could be good idea, I'll try it out someday.

Guerra24 commented 7 years ago

~I've imported the project in VS but the shared project fails to compile, is there an extra step to make it compile?~

EDIT: Never mind, downgraded the Microsoft.NETCore.Portable.Compatibility package from 1.0.2 to 1.0.1 and it worked.

EDIT2: What is this Secrets.cs file?

Drutol commented 7 years ago

151 #165

Guerra24 commented 7 years ago

Thanks! πŸ‘