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

Incorrect TimeZoneGrid city view scroll position #98

Closed
vjr opened this issue Jul 25, 2021 · 1 comment · Fixed by #101
Closed

Incorrect TimeZoneGrid city view scroll position #98

vjr opened this issue Jul 25, 2021 · 1 comment · Fixed by #101

Comments

@vjr
Copy link
Member

vjr commented Jul 25, 2021

What Happened

The scroll position of the selected city in the time zone grid city view widget is "off screen" of the scrolled window widget. My time zone is Asia/Kolkata (in India) and the city selection scroll position is "above" the scrolled window when the plug is opened.

Screenshots to illustrate:

When opening the plug:

datetime1

After manually scrolling to bring the selected city (Kolkata) into view:

datetime2

Expected Behavior

The scroll position should be within view automatically by default, such as in the second screenshot, pasted below again:

datetime2

Steps to Reproduce

  1. Open the date time plug.
  2. Observe the issue described and shown in the screenshots.

Logs

N/A

Platform Information

elementary OS 6.0 Odin daily installation fully updated.

@vjr
Copy link
Member Author

vjr commented Jul 30, 2021

I tried looking into fixing this issue, but could not figure out a solution after navigating the Gtk APIs like using Gtk.Adjustment etc.

Does anyone have any pointers for a fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant