Bug#907297: breeze-gtk-theme: Breaks xfce4-notes (invalid string constant in "/usr/share/themes/Breeze/gtk-2.0/widgets/styles")

2020-01-05 Thread Валерий Заподовников
Hello! I did not know how to open a new bug, so will post it here. Please
pull my commit
https://cgit.kde.org/breeze-gtk.git/commit/?id=71eed8b3ad50d956616213632c9ecb536ae6fc7b
as it causes problems in gnuradio and some other apps.
diff --git a/src/gtk2/widgets/menu b/src/gtk2/widgets/menu
index aaff5b1..c76ed92 100644
--- a/src/gtk2/widgets/menu
+++ b/src/gtk2/widgets/menu
@@ -270,7 +270,7 @@ style "separator_menu_item"
 {
 function= BOX
   file  = "../assets/line-h.png"
-  border= { 1, 1, 1, 1 }
+  border= { 0, 0, 0, 0 }
   stretch = TRUE
 }
 }


Bug#907297: breeze-gtk-theme: Breaks xfce4-notes (invalid string constant in "/usr/share/themes/Breeze/gtk-2.0/widgets/styles")

2019-01-31 Thread Dmitry Smirnov
On Thursday, 31 January 2019 7:36:23 PM AEDT Maximiliano Curia wrote:
> Are you suggesting that even without the breeze theme active you are seeing
> the mentioned errors?

Quite the opposite: removing "breeze-gtk-theme" fixed "xfce4-notes" (and all 
the warnings disappeared).


> Anyway, please check your ~/.gtkrc-2.0 (and also ~/.config/gtkrc and
> ~/.config/gtkrc-2.0). While using cinnamon, these files shouldn't be
> needed.

Awesome: my ".gtkrc-2.0" contains the following:


include "/usr/share/themes/Breeze/gtk-2.0/gtkrc"
style "user-font"
{
font_name="Noto Sans Regular"
}
widget_class "*" style "user-font"
gtk-font-name="Noto Sans Regular 10"
gtk-theme-name="Breeze"
gtk-icon-theme-name="breeze"
gtk-fallback-icon-theme="gnome"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-menu-images=1
gtk-button-images=1


Removing "./.gtkrc-2.0" fixed the problem completely.

I couldn't have possibly guess that ".gtkrc-2.0" is related to this problem 
without your help...

Thank you.

-- 
All the best,
 Dmitry Smirnov.

---

It is a mistake to try to look too far ahead. The chain of destiny can only
be grasped one link at a time.
-- Winston Churchill


signature.asc
Description: This is a digitally signed message part.


Bug#907297: breeze-gtk-theme: Breaks xfce4-notes (invalid string constant in "/usr/share/themes/Breeze/gtk-2.0/widgets/styles")

2019-01-31 Thread Maximiliano Curia

¡Hola Dmitry!

El 2019-01-31 a las 09:50 +1100, Dmitry Smirnov escribió:

On Thursday, 31 January 2019 8:19:38 AM AEDT Maximiliano Curia wrote:

I couldn't reproduce the issue, executing xfce4-notes shows no errors in
the termianl and it seems to be working fine, this of course, while using
the breeze theme.



Interestingly enough this issue is very persistent and it existed for a long
time. Yesterday I've opened #920876 only to realize that I've already
reported that as #907297 earlier...



Is there anything special about your setup that could
somehow caused that the other files in
/usr/share/themes/Breeze/gtk-2.0/widgets/ directory could not be loaded? A
limit on the number of open files, perhaps?



In both cases I had to uninstall "breeze-gtk-theme".


Are you suggesting that even without the breeze theme active you are seeing 
the mentioned errors?


That would suggest that something is forcibly loading the breeze style file 
but not the other files in widgets.


Anyway, please check your ~/.gtkrc-2.0 (and also ~/.config/gtkrc and 
~/.config/gtkrc-2.0). While using cinnamon, these files shouldn't be needed.


Please also test this issue with a new user.


Do you think Breaks/Conflicts could be declared between "breeze-gtk-theme"
and "xfce4-notes"?


In general, I don't think that's a good idea. In particular, the issue is not 
even reproducible by us, so a change in the breeze-gtk package is not 
acceptable.


Happy hacking,
--
"There are only two things wrong with C++: The initial concept and the 
implementation."

-- Bertrand Meyer
Saludos /\/\ /\ >< `/


signature.asc
Description: PGP signature


Bug#907297: breeze-gtk-theme: Breaks xfce4-notes (invalid string constant in "/usr/share/themes/Breeze/gtk-2.0/widgets/styles")

2019-01-30 Thread Dmitry Smirnov
On Thursday, 31 January 2019 8:19:38 AM AEDT Maximiliano Curia wrote:
> I couldn't reproduce the issue, executing xfce4-notes shows no errors in
> the termianl and it seems to be working fine, this of course, while using
> the breeze theme.

Interestingly enough this issue is very persistent and it existed for a long 
time. Yesterday I've opened #920876 only to realize that I've already 
reported that as #907297 earlier...


> Is there anything special about your setup that could
> somehow caused that the other files in
> /usr/share/themes/Breeze/gtk-2.0/widgets/ directory could not be loaded? A
> limit on the number of open files, perhaps?

Nothing like this, I can't think of anything special.
I've observed this problem on two installations under Cinnamon...

In both cases I had to uninstall "breeze-gtk-theme".

Do you think Breaks/Conflicts could be declared between "breeze-gtk-theme" 
and "xfce4-notes"?

-- 
Cheers,
 Dmitry Smirnov.

---

Free speech is the bedrock of liberty and a free society. And yes, it
includes the right to blaspheme and offend.
-- Ayaan Hirsi Ali, 2010


signature.asc
Description: This is a digitally signed message part.


Bug#907297: breeze-gtk-theme: Breaks xfce4-notes (invalid string constant in "/usr/share/themes/Breeze/gtk-2.0/widgets/styles")

2019-01-30 Thread Maximiliano Curia

Control: severity -1 normal
Control: tag -1 + unreproducible

¡Hola Dmitry!

El 2018-08-26 a las 15:53 +1000, Dmitry Smirnov escribió:

Package: breeze-gtk-theme
Version: 5.13.4-1
Severity: normal
Control: affects -1 xfce4-notes



breeze-gtk-theme breaks xfce4-notes:




$ xfce4-notes
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:7: error: invalid string constant 
"notebook", expected valid string constant
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:2: error: invalid string constant 
"scrollbar", expected valid string constant
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:4: error: invalid string constant 
"entry", expected valid string constant
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:4: error: invalid string constant 
"entry", expected valid string constant
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:1: error: invalid string constant 
"default", expected valid string constant
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:1: error: invalid string constant 
"default", expected valid string constant
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:8: error: invalid string constant 
"range", expected valid string constant
^C




I could only use xfce4-notes after uninstalling "breeze-gtk-theme"...


I couldn't reproduce the issue, executing xfce4-notes shows no errors in the 
termianl and it seems to be working fine, this of course, while using the 
breeze theme.


Thus setting the severity back to normal, and tagging the issue as 
unreproducible. Is there anything special about your setup that could somehow 
caused that the other files in /usr/share/themes/Breeze/gtk-2.0/widgets/ 
directory could not be loaded? A limit on the number of open files, perhaps?


Happy hacking,
--
"Brilliant opportunities are cleverly disguised as insolvable problems."
-- Gardener's Philosophy

"The reverse is also true." -- Corollary
Saludos /\/\ /\ >< `/


signature.asc
Description: PGP signature


Bug#907297: breeze-gtk-theme: Breaks xfce4-notes (invalid string constant in "/usr/share/themes/Breeze/gtk-2.0/widgets/styles")

2018-08-25 Thread Dmitry Smirnov
Package: breeze-gtk-theme
Version: 5.13.4-1
Severity: normal
Control: affects -1 xfce4-notes

breeze-gtk-theme breaks xfce4-notes:


$ xfce4-notes
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:7: error: invalid string 
constant "notebook", expected valid string constant
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:2: error: invalid string 
constant "scrollbar", expected valid string constant
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:4: error: invalid string 
constant "entry", expected valid string constant
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:4: error: invalid string 
constant "entry", expected valid string constant
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:1: error: invalid string 
constant "default", expected valid string constant
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:1: error: invalid string 
constant "default", expected valid string constant
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:8: error: invalid string 
constant "range", expected valid string constant
^C


I could only use xfce4-notes after uninstalling "breeze-gtk-theme"...

-- 
Regards,
 Dmitry Smirnov

---

Continuous effort - not strength or intelligence - is the key to unlocking
our potential.
-- Winston Churchill


signature.asc
Description: This is a digitally signed message part.