Project

General

Profile

Emulator Issues #10390

DolphinWX: Custom RTC broken on Linux

Added by NikG92 almost 3 years ago. Updated almost 3 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
Linux
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-4664

Description

What's the problem? Describe what went wrong.

Enabling and changing the date and/or time in the Custom RTC setting via text entry changes the date to 01/01/2135, when using the drop down calendar it sets it to an incorrect year (selected year + 135).

What steps will reproduce the problem?

Enabling and changing the Custom RTC settings.

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

5.0 - latest build (7/5/2017)

What are your PC specifications? (CPU, GPU, Operating System, more)

Ubuntu 16.04 LTS
Intel Core i5-2415M @ 2.3Ghz
Intel Sandybridge Mobile Embedded Graphics
8GB RAM

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)

I tried to reproduce the error using the same build version on my Windows 10 PC but it works correctly.

History

#1 Updated by MayImilae almost 3 years ago

Define "5.0 - latest build" please. You can find it in the About page if you are not sure.

#2 Updated by NikG92 almost 3 years ago

Sorry, version 5.0-4657

#3 Updated by MayImilae almost 3 years ago

The feature was added in 5.0-266. Can you bisect to find which build the feature was broken in?

#4 Updated by NikG92 almost 3 years ago

My knowledge of using git stops after "git clone" but I'll do my best to get this figured out.

#5 Updated by NikG92 almost 3 years ago

The feature is also broken in 5.0-266.

#6 Updated by MayImilae almost 3 years ago

  • Assignee set to Fog
  • Operating system Linux added
  • Operating system deleted (N/A)

Weird. Fog please take a look at this!

#7 Updated by MayImilae almost 3 years ago

Whoops, my link to 5.0-266 was incorrect! Did you use the link I gave? If so, please retest with this - https://dolphin-emu.org/download/dev/master/5.0-266/

#8 Updated by NikG92 almost 3 years ago

6196

No, I didn't use your link. I double checked the version to be sure.

#9 Updated by Fog almost 3 years ago

Is it happening from 5.0-266? If not, can you bisect to find when it broke on Linux?

Okay, so it happens on 5.0-266. What are your locale settings (date/time)?

#10 Updated by NikG92 almost 3 years ago

My locale settings are set up to the local time, Pacific Daylight Time (PDT).

#11 Updated by NikG92 almost 3 years ago

Sorry, I think I misunderstood the question. My locale is en_US.UTF8

#12 Updated by Fog almost 3 years ago

Can you try this to see if it fixes the issue?

https://github.com/dolphin-emu/dolphin/pull/5757

#13 Updated by NikG92 almost 3 years ago

I tested the wx-fix-custom-rtc branch on both on Ubuntu 16.04 and Windows 10 and it is functional on both. The only problem I found is that on the Linux build I couldn't edit the time via text entry, though text entry works on the date. Also when changing the time you cannot select the minutes or seconds field without using the arrow keys.

#14 Updated by blubberdiblub almost 3 years ago

Yes, the problem with the user interaction with the widgets you describe happens here, too (i.e. exactly the same symptoms under Ubuntu 17.04), but that's a different issue. If the issue is too much of a problem, it may call for opening a separate ticket.

It also happens without the change and I don't think it's caused by Dolphin code. It may be an issue with that version of wxWidgets under Linux with the gtk backend (it's using gtk, right?) in particular.

#15 Updated by NikG92 almost 3 years ago

You're right. I downloaded and compiled the widget samples from the wxwidgets repository and it reproduced the issues I mentioned in my last. So these other issues are not from dolphin.

#16 Updated by JosJuice almost 3 years ago

  • Subject changed from Custom RTC broken on Linux to DolphinWX: Custom RTC broken on Linux
  • Status changed from New to Fixed
  • Fixed in set to 5.0-4664

Also available in: Atom PDF