Philip-Scott / Spice-up

Presentations App for the modern Linux Desktop
GNU General Public License v3.0
600 stars 32 forks source link

Black portion appears under the text with fcitx #110

Closed ryonakano closed 7 years ago

ryonakano commented 7 years ago

When I added textbox, black portion appeared under the text like this screenshot and couldn't remove. This also appears even in presentation mode.

Loki 0.4.1, Spice-Up 0.4.6 screenshot from 2017-05-18 20-44-57

Philip-Scott commented 7 years ago

I can't seem to confirm it :/ Does it happen on every font?

ryonakano commented 7 years ago

Yes, it still appears even I changed font. Also, I reinstalled elementary OS and Spice-up after posting this issue, but the situation didn't changed. screenshot from 2017-05-22 21-15-03

ryonakano commented 7 years ago

Now I found the cause of this issue. This is because of the input-method, fcitx. When fcitx is running, this issue is happen. If not, this issue isn't happen. screenshot from 2017-05-22 23-06-00 This screenshot is when I stopped running fcitx.

ryonakano commented 7 years ago

However, I can't type Japanese when the fcitx isn't running:( This issue is serious...

Philip-Scott commented 7 years ago

At least now we know what the reason is :) fcitx might be adding it's own CSS to textboxes. I'll check it out and see if there's anything i can do

ryonakano commented 7 years ago

Thank you!

Philip-Scott commented 7 years ago

@ryonakano are you using any skins? or what language exactly are you using?

ryonakano commented 7 years ago

fcitx's skins?

Philip-Scott commented 7 years ago

No idea :P I just installed fcitx and it's also not causing the textbox to go black.... So it might be a configuration you have

ryonakano commented 7 years ago

I see... Please let me check my configuration.

ryonakano commented 7 years ago

Umm, I don't change my fcitx configuration so much, though... I changed only host-key and "Fcitx XIM Frontend" setting.

ryonakano commented 7 years ago

In the latest version 0.5.5, the black portion doesn't appear in presentation mode. But it still appears when I clicked in the textbox: screenshot from 2017-05-26 20-10-44

Philip-Scott commented 7 years ago

Yeah, i made a change where the editor is not the same as the viewing text. :) This might be a problem with fcitx though and not something i can fix from within my app (I am already removing the background on the textbox as you can see when you disable fcitx) since I think that the program is injecting it's own styles.

But since it won't be bothering you while presenting, i think i'm going to close it if that's good with you :) At least you will be able to present without a problem

ryonakano commented 7 years ago

I understand it. Thank you for your quick fixing!