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

Frame icons vanish when frame palettes open #819

Open
quozl opened this issue Mar 7, 2019 · 3 comments
Open

Frame icons vanish when frame palettes open #819

quozl opened this issue Mar 7, 2019 · 3 comments

Comments

@quozl
Copy link
Contributor

quozl commented Mar 7, 2019

Reproducer: open the frame, hover mouse or touch the battery or speaker icon.

Expected result: palette for icon is drawn, no other changes.

Observed result: palette for icon is drawn, but other icons may vanish. Is most likely on first use of palette for an icon; repeated uses don't cause other icons to vanish.

Occurs on Ubuntu 18.04

@JuiP
Copy link
Member

JuiP commented Mar 12, 2020

Just an observation- The battery icon doesnot seem to vanish. However, other status icons vanish, even on repeated uses. Is there some patch of the code that is different for Battery which is making it behave the way it is supposed to?

I'm not quite sure if I will be able to fix this but I want to work on this issue, what do you think is the best way to proceed?

@quozl
Copy link
Contributor Author

quozl commented Mar 12, 2020

Thanks. You are correct it may relate to the specific code for each icon. Or it could relate to the relative position of the icons; for example there is no icon to the right of the battery icon, so there's no way to force a redraw for the area immediately adjacent to the battery icon. This could be proven or disproven by changing the display order of the icons temporarily.

Sorry, I don't know what is a best way to proceed. Just proceed in any way that may gather useful information or test hypotheses.

p.s. if I wanted to find out how to proceed, I would have done so without creating an issue. An issue represents an unmet need that the author of the issue does not plan to immediately address. Also there's no need to say you are working on an issue; anyone is free to work on an issue at any time, making whatever contributions that help.

@shaansubbaiah
Copy link
Member

Faced the same issue where the icon disappears and the background turns black, reproduced by:

Hover or click any icon -> hover or click an adjacent icon -> Previous icon remains blank

This occurs only when moving to an icon adjacent to the previously selected icon. Cannot get the rightmost icon to turn blank.

Perhaps it has something to do with hover like these lines in /src/jarabe/frame/framewindow.py

    def _enter_notify_cb(self, window, event):
        if event.detail != Gdk.NotifyType.INFERIOR:
            self.hover = True

    def _leave_notify_cb(self, window, event):
        if event.detail != Gdk.NotifyType.INFERIOR:
            self.hover = False

Not sure what the tray with the Speech assistant and Volume is called though.

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

No branches or pull requests

3 participants