Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET 4.5 #393

Closed
5 tasks done
bao-qian opened this issue Nov 13, 2015 · 33 comments
Closed
5 tasks done

.NET 4.5 #393

bao-qian opened this issue Nov 13, 2015 · 33 comments
Assignees

Comments

@bao-qian
Copy link
Member

.NET 3.5 seems has bugs.

I tried .NET 4.5 with dotnet45 branch.
Everything seems good except the UI of selected item is not working.
It can also install plugins written in .NET 3.5 without problems, I tried youdao plugin.

Other pros:
#236 able to use quirrel.Windows for installer and auto updates
#333 able to use Task library

Current problems prevent to upgrade:

  • 1. the color of selected item is not correct.
    selected item
  • 2. the color of mouse over item is not correct.
    mouse over item
  • 3. sometimes the icons are flickering
@luisrudge
Copy link

Hey guys.. We have to make this happen. Using .net 3.5 is very limiting on what we can do and how we can do. Not having async/await or not being able to use the latest client libraries is not good for the ecosystem. Who can I help make this happen?

@bao-qian
Copy link
Member Author

Hi @luisrudge,
There is a dotnet45 branch. You can merge master into that branch. And then fire PR into dotnet45 branch.
Problems I noticed

  • 1. the color of selected item is not correct.
    selected item
  • 2. the color of mouse over item is not correct.
    mouse over item
  • 3. sometimes the icons are flickering

3 should be fixed by my self. I need help with 1 and 2, since I don't know WPF.

@devployment
Copy link

@happlebao, just curious on how you got this mouse over item effect. Which theme are you using? For me using the default "Dark" theme does not show any over item effect.

@bao-qian
Copy link
Member Author

@deployment this is a bug in dotnet45 branch using default Dark theme.

@bao-qian
Copy link
Member Author

What's your os version?

@devployment
Copy link

Just to be clear. That means the over item effect should not be there at all, right?

OS: Windows 8.1. Enterprise

Will try to fix these two issues and create a pull request.

@bao-qian
Copy link
Member Author

Yes, it should be same as master branch. Thanks for help!

@lances101
Copy link
Member

@happlebao Can you scroll through the results with arrow keys and/or tab? I built the .net 4.5 branch and it does not seem to react on my system.

@bao-qian
Copy link
Member Author

@lances101
I merged master into dotet45, check it.
It had occasionally occurred, but I can't reproduce it now.

@bao-qian
Copy link
Member Author

@bao-qian
Copy link
Member Author

@lances101 it's probably related to .net version.
Download this software:http://www.asoft.be/prod_netver.html
paste info like this to here

<32Bit>
2.0.50727.8669
  ->C:\Windows\Microsoft.NET\Framework\v2.0.50727
4.6.1055.0
  ->C:\Windows\Microsoft.NET\Framework\v4.0.30319

<64Bit>
2.0.50727.8669
  ->C:\Windows\Microsoft.NET\Framework64\v2.0.50727
4.6.1055.0
  ->C:\Windows\Microsoft.NET\Framework64\v4.0.30319

< Installed .NET Frameworks >
.NET FW 2.0 SP 2  (CLR:2.0)
.NET FW 3.0 SP 2  (CLR:2.0)
.NET FW 3.5 SP 1  (CLR:2.0)
.NET FW 4.6 Unknown build:394271 (CLR:4.0)

@luisrudge
Copy link

any updates on this?

@foobarbazmeow
Copy link

@bao-qian
Copy link
Member Author

@luisrudge sorry, no. I'm recently busy to look find a job.
@AntiGravity 4.5.2 is still supported.

@luisrudge
Copy link

Can you enumerate what needs to be done in order to migrate wox to the latest .net version?

@bao-qian
Copy link
Member Author

@luisrudge hi, please take a look: #393 (comment)

@luisrudge
Copy link

Ok. I'll try to help you with 1 and 2.

@bao-qian
Copy link
Member Author

Thanks a lot

@bao-qian bao-qian mentioned this issue Jan 1, 2016
bao-qian added a commit that referenced this issue Jan 2, 2016
This is part of .net 4.5 fix, check #393 to see more
@bao-qian
Copy link
Member Author

bao-qian commented Jan 2, 2016

Update: I finally figured out how WPF handle background color for win8+, Wox will be moved to .net 4.5 soon.

bao-qian added a commit that referenced this issue Jan 2, 2016
1. This is part of .net 4.5 fix, check #393 to see more
2. This bug is introduced since commit df4ca3f
@bao-qian bao-qian self-assigned this Jan 2, 2016
@bao-qian
Copy link
Member Author

bao-qian commented Jan 2, 2016

Hi guys, all the problems seems resolved now. take a look of build 1.2.662.
Remember install .net 4.5.2+ before launch it :) .
@lances101 @luisrudge @devployment @AntiGravity @cH40z-Lord

@bao-qian
Copy link
Member Author

bao-qian commented Jan 2, 2016

@PengKISS #428 【1.2 beta2 回车和上下键选择没反应】这个问题在 build 1.2.662 还存在吗?

@keichinger
Copy link

@happlebao awesome!

I've noticed a few issues after the first minutes of testing it on my Windows 10 1511 Build 11082 x64 (Insider Preview) machine:

  • When copying Wox in an UAC-required location such as `%ProgramFiles(x86)%´ and then running it without admin permissions will bring up the custom Exception dialog, though there is no chance to submit or review it since it's closed automatically after less than a second. I haven't looked into it yet what's causing this but I've got a strong feeling that it is caused due to insufficient permissions for creating directories upon first launch.
  • No plugins were installed by default even though each directory under \Plugins has content.
  • Probably related to ^: Searching for anything (no matter if it's just settings or anything else) won't bring up any search results and all I see is the progress bar under the search input

@bao-qian
Copy link
Member Author

bao-qian commented Jan 2, 2016

@cH40z-Lord this is not .net 4.5 issue, this is deployment issue, track using #360.

1: yeah, please put it under %userprofile% for now.
2+3: this is a win10 specific issue, please take a look of #279 (comment) for workaround. This is will be fixed soon since .net 4.5 enable us to use Squirrel as installer.

@lances101
Copy link
Member

@happlebao So far the .net 4.5 branch seems to run without any problems on the VM I'm using. I will report if I find any issues.

@bao-qian
Copy link
Member Author

bao-qian commented Jan 2, 2016

@lances101 can you scroll now? see #393 (comment)

@lances101
Copy link
Member

@happlebao yes, so far all the times I tried to scroll through the results with the keyboard - it scrolled without any problems

@bao-qian bao-qian closed this as completed Jan 3, 2016
@luisrudge
Copy link

this build is working great for me too! When can we expect the new version to ship? I want to build some plugins :)

@bao-qian
Copy link
Member Author

bao-qian commented Jan 4, 2016

The new build will be shipped before Chinese spring new year after I create a installer. You can checkout master and build it now.

@luisrudge
Copy link

So, February 8th?

@bao-qian
Copy link
Member Author

bao-qian commented Jan 4, 2016

Yeah :)

@luisrudge
Copy link

Nice! I want it to be available to everyone, so I can ship .net 4.5 plugins :)

@bao-qian
Copy link
Member Author

bao-qian commented Jan 4, 2016

You can build it now and publish it after that time. You know, a good plugin needs time to build and test.

@luisrudge
Copy link

Yep! That's exactly what I'll do!

bao-qian added a commit that referenced this issue Dec 19, 2017
This is part of .net 4.5 fix, check #393 to see more
bao-qian added a commit that referenced this issue Dec 19, 2017
1. This is part of .net 4.5 fix, check #393 to see more
2. This bug is introduced since commit df4ca3f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants