Re: [BlueGriffon] Preferences not sticking

428 views
Skip to first unread message

Greg Chapman

unread,
Dec 26, 2012, 10:43:14 AM12/26/12
to blueg...@googlegroups.com
Hi Joeg,

On 26 Dec 12 14:20 Joeg <joegille...@gmail.com> said:
> I switched-off 'Show HTML comments' in the preferences but they keep
> coming back.

Coming back? Explain!

If you turn HTML comments off they will not show the next time you
load the page. Try a "revert" (right-click - or whatever the Mac
altternative is - on the page tab and select "Revert") to remove them
if you have a page with comments open when you change the option. That
will make them disappear.

> I have also set CSS policy to Manual but it keeps adding its own
> styles instead of my stylesheet.

How are you adding your styles? Are you using the "Style Properties"
panel, "Stylesheets" panel or some other method?

> Why does the font palette keep popping up, I don't want it and can't
> find a way to disable it.

It's called the "Floating Toolbar". The opion is immediately above the
"Show HTML comments" option on the Preferences dialogue.

Greg Chapman
http://www.gregtutor.plus.com
Helping new users of KompoZer and The GIMP
Still exploring BlueGriffon

Joeg

unread,
Dec 26, 2012, 12:19:42 PM12/26/12
to blueg...@googlegroups.com


On Wednesday, December 26, 2012 3:43:14 PM UTC, GregTutor wrote:
Hi Joeg,

On 26 Dec 12 14:20 Joeg <joegille...@gmail.com> said:
> I switched-off 'Show HTML comments' in the preferences but they keep
> coming back.

Coming back? Explain!

Okay, I'm in WYSIWYG mode, the yellow comments are not visible, make an edit, switch to Source mode to check that it's done what I expect (it doesn't, but that's another story!) Switch back to WYSIWYG mode. The comments are visible again. I have to go to the Preferences to switch them off again.

I have run Permissions Repair with Disk Utility but it didn't need to fix anything.
 

If you turn HTML comments off they will not show the next time you
load the page. Try a "revert" (right-click - or whatever the Mac
altternative is - on the page tab and select "Revert") to remove them
if you have a page with comments open when you change the option. That
will make them disappear.

If you mean 'Undo' (I can't see any 'Revert' anywhere) it changes the edit back to what it was but the comments remain visible regardless.
 

> I have also set CSS policy to Manual but it keeps adding its own
> styles instead of my stylesheet.

How are you adding your styles? Are you using the "Style Properties"
panel, "Stylesheets" panel or some other method?

The stylesheets are regular external links in the head. I have no inline styles. The Styles Property panel is blank. The Stylesheets Panel is blank.
 eg. <link rel="stylesheet" type="text/css" href="css/chogstyles.css" media="screen">

If I paste a section of unstyled text and make sure it is Body Text, then try to apply a H3 from the popup (top left) the H3 is in Arial instead of the Palatino specified in the stylesheet. I can see that it has added an inline style. I also have a style for <hr> which is an orange dotted line but it comes with an inline style. How do I stop it inserting inline styles - switching CSS policy to Manual doesn't seem to work.

The page renders fine.

 
> Why does the font palette keep popping up, I don't want it and can't
> find a way to disable it.

It's called the "Floating Toolbar". The opion is immediately above the
"Show HTML comments" option on the Preferences dialogue.

Okay, I found that. Were it called 'Floating Fonts Toolbar' I might have found it. Gone!

Thanks,

Greg Chapman

unread,
Dec 26, 2012, 3:17:06 PM12/26/12
to blueg...@googlegroups.com
Hi Joeg,

On 26 Dec 12 17:19 Joeg <joegille...@gmail.com> said:
> > > I switched-off 'Show HTML comments' in the preferences but they
> > > keep coming back.
> >
> > Coming back? Explain!
> >
>
> Okay, I'm in WYSIWYG mode, the yellow comments are not visible, make
> an edit, switch to Source mode to check that it's done what I expect
> (it doesn't, but that's another story!) Switch back to WYSIWYG mode.
> The comments are visible again. I have to go to the Preferences to
> switch them off again.

(Always bear in mind that I am using Windows...)

OK, I have done a test, using the actions you mention...

I find that comments are only hidden when loading a page.

If you edit any comment (even when "Show HTML comments" is turned off)
a yellow comment flag will appear. I assume this is to highlight the
fact that you have changed otherwise invisible code.

I find that all comments - even those not edited will then appear in
yellow flags. (This possibly might be considered a bug...)

Even after saving the page, the comments remain visible but, as
mentioned before, will disappear on reload.

> I have run Permissions Repair with Disk Utility but it didn't need
> to fix anything.

I doubt that it would, This appears to be intended behaviour!

> > If you turn HTML comments off they will not show the next time you
> > load the page. Try a "revert" (right-click - or whatever the Mac
> > altternative is - on the page tab and select "Revert") to remove
> > them if you have a page with comments open when you change the
> > option. That will make them disappear.
>
> If you mean 'Undo' (I can't see any 'Revert' anywhere) it changes
> the edit back to what it was but the comments remain visible
> regardless.

I do not mean "Undo". On the Windows version, at least, there is a
menu accessible through a right-click (I believe such things are
CMD-click on the Mac) over the page tab. This shows three options:

Close Tab
Colose Other Tabs
Revert

Revert will reload the page from disk and will prompt appropriately if
there are unsaved edits.

> > > I have also set CSS policy to Manual but it keeps adding its own
> > > styles instead of my stylesheet.
> >
> > How are you adding your styles? Are you using the "Style
> > Properties" panel, "Stylesheets" panel or some other method?
>
> The stylesheets are regular external links in the head. I have no
> inline styles. The Styles Property panel is blank. The Stylesheets
> Panel is blank.

If the stylesheets panel is blank then it suggests that the file is
not properly linked. At the bottom of the Stylesheets Panel click the
[+] button and complete the dialogue to ensure that the stylesheet is
linked.

You don't mention where the cursor is as you view the Style Properties
Panel. The contents of the panel refer to the currently selected item
on the page - so very often there is nothing to show.

> If I paste a section of unstyled text and make sure it is Body Text,
> then try to apply a H3 from the popup (top left) the H3 is in Arial
> instead of the Palatino specified in the stylesheet. I can see that
> it has added an inline style. I also have a style for <hr> which is
> an orange dotted line but it comes with an inline style. How do I
> stop it inserting inline styles - switching CSS policy to Manual
> doesn't seem to work.

As far as I know "Manual" is the default. I have no knowledge of what
happens with other settings.

I have done tests trying to follow the actions you describe and I get
the results expected from the stylesheet. I do not get inline styles.

The results you get may be related either to a lack of properly linked
stylesheet or to exactly what is selected at the time you attempt to
set the h3 tag. (The button on the tag bar at the bottom of the window
is very useful for selecting any tag.) Always keep an eye on the top
section of the Style Properties Panel and ensure that both the tag and
"Apply to" entry is set appropriately. (For the situation you describe
this would be "all elements of same type" and would show h3 in the
related field.)

> > It's called the "Floating Toolbar". The opion is immediately above
> > the "Show HTML comments" option on the Preferences dialogue.
>
> Okay, I found that. Were it called 'Floating Fonts Toolbar' I might
> have found it. Gone!

It controls more than fonts - colour, background emphasis, etc. :-)

Joeg

unread,
Dec 27, 2012, 7:19:50 AM12/27/12
to blueg...@googlegroups.com
Hi Greg,


On 26 Dec 12 17:19 Joeg <joegille...@gmail.com> said:
> > > I switched-off 'Show HTML comments' in the preferences but they
> > > keep coming back.
> >
> > Coming back? Explain!
> >
>
> Okay, I'm in WYSIWYG mode, the yellow comments are not visible, make
> an edit, switch to Source mode to check that it's done what I expect
> (it doesn't, but that's another story!) Switch back to WYSIWYG mode.
> The comments are visible again. I have to go to the Preferences to
> switch them off again.

(Always bear in mind that I am using Windows...)

OK, I have done a test, using the actions you mention...

I find that comments are only hidden when loading a page.

If you edit any comment (even when "Show HTML comments" is turned off)
a yellow comment flag will appear. I assume this is to highlight the
fact that you have changed otherwise invisible code.

In my pages, comments are placeholders that can be searched and replaced by a script to insert new text. I certainly don't want them to appear in WYSIWYG mode - especially if I can't copy and paste them.
 

I find that all comments - even those not edited will then appear in
yellow flags.  (This possibly might be considered a bug...)

It happens in both Mac and Windows versions. Do I need to report it - where?
 

Even after saving the page, the comments remain visible but, as
mentioned before, will disappear on reload.

> I have run Permissions Repair with Disk Utility but it didn't need
> to fix anything.

I doubt that it would, This appears to be intended behaviour!

> > If you turn HTML comments off they will not show the next time you
> > load the page. Try a "revert" (right-click - or whatever the Mac
> > altternative is - on the page tab and select "Revert") to remove
> > them if you have a page with comments open when you change the
> > option. That will make them disappear.
>
> If you mean 'Undo' (I can't see any 'Revert' anywhere) it changes
> the edit back to what it was but the comments remain visible
> regardless.

I do not mean "Undo". On the Windows version, at least, there is a
menu accessible through a right-click (I believe such things are
CMD-click on the Mac) over the page tab.

Macs have had multi-button mice for the last 15-20 years - even if the buttons are not visible.


 
This shows three options:

Close Tab
Colose Other Tabs
Revert

Revert will reload the page from disk and will prompt appropriately if
there are unsaved edits.

Now that you tell me where to find it... but I would never think of right-clicking on a tab. Never happens on a Mac that I know of. I usually have tabs switched off anyway. The usual place for a Revert item is in the File menu. 


 
> > > I have also set CSS policy to Manual but it keeps adding its own
> > > styles instead of my stylesheet.
> >
> > How are you adding your styles? Are you using the "Style
> > Properties" panel, "Stylesheets" panel or some other method?
>
> The stylesheets are regular external links in the head. I have no
> inline styles. The Styles Property panel is blank. The Stylesheets
> Panel is blank.

If the stylesheets panel is blank then it suggests that the file is
not properly linked. At the bottom of the Stylesheets Panel click the
[+] button and complete the dialogue to ensure that the stylesheet is
linked.

You don't mention where the cursor is as you view the Style Properties
Panel. The contents of the panel refer to the currently selected item
on the page - so very often there is nothing to show.

I would 'expect' stylesheets to be relevant to the entire page rather than specific objects. I can't click anywhere on a page that is not styled by my stylesheet - body, #content, #right_col etc.
 

> If I paste a section of unstyled text and make sure it is Body Text,
> then try to apply a H3 from the popup (top left) the H3 is in Arial
> instead of the Palatino specified in the stylesheet. I can see that
> it has added an inline style. I also have a style for <hr> which is
> an orange dotted line but it comes with an inline style. How do I
> stop it inserting inline styles - switching CSS policy to Manual
> doesn't seem to work.

As far as I know "Manual" is the default. I have no knowledge of what
happens with other settings.

I have done tests trying to follow the actions you describe and I get
the results expected from the stylesheet. I do not get inline styles.

The results you get may be related either to a lack of properly linked
stylesheet or to exactly what is selected at the time you attempt to
set the h3 tag. (The button on the tag bar at the bottom of the window
is very useful for selecting any tag.) Always keep an eye on the top
section of the Style Properties Panel and ensure that both the tag and
"Apply to" entry is set appropriately. (For the situation you describe
this would be "all elements of same type" and would show h3 in the
related field.)

Okay, I'll look at that.
 

> > It's called the "Floating Toolbar". The opion is immediately above
> > the "Show HTML comments" option on the Preferences dialogue.
>
> Okay, I found that. Were it called 'Floating Fonts Toolbar' I might
> have found it. Gone!

It controls more than fonts - colour, background emphasis, etc. :-)

Okay, I've got that.

Cheers

Daniel Glazman

unread,
Dec 27, 2012, 7:22:28 AM12/27/12
to blueg...@googlegroups.com
On 27/12/12 13:19, Joeg wrote:

> OK, I have done a test, using the actions you mention...
>
> I find that comments are only hidden when loading a page.


Guys, if there is a bug, please file a bug in
http://bugzilla.bluegriffon.org
Thanks.

</Daniel>


Reply all
Reply to author
Forward
0 new messages