Re: [PATCH 3/3] Renamed "Apercu" to "MiniPreview" in the configuration database

Josip Deanovic <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <22797319.achpeQdKcd@libria>
Quoting message written on Wednesday 2014-12-31 01:09:53:
> The name of the 2 settings have been changed:
>  - enable: MiniwindowApercuBalloons -> MiniwindowPreviewBalloons
>  - size: ApercuSize -> MiniPreviewSize
> 
> The old name is still supported to avoid breaking user's configuration,
> but WPrefs will update the setting to the new names when updating the
> configuration.

Hi Christophe,

I finally got some time to check some new Windowmaker features so I
tried to use that MiniPreview a.k.a. apercu feature but it doesn't
work out of the box and there are some inconsistencies.


Problem 1:

- exit windowmaker
- in the console manually edit GNUstep/Defaults/WindowMaker file in
  order to remove all occurance of MiniwindowApercuBalloons and
  ApercuSize variables
- MiniwindowPreviewBalloons is set to YES
- MiniPreviewSize is set to let's say 256
- start windowmaker
- tail -f .xsession-errors says:
/usr/local/windowmaker-0.95.7.next/bin/wmaker(wReadDefaults(defaults.c:1227)): 
warning: your configuration is using old syntax for Mini-Preview settings; 
consider running WPrefs.app to update

But it doesn't.
Let's check using wdread:
$ wdread WindowMaker MiniwindowApercuBalloons
$ wdread WindowMaker ApercuSize
$ wdread WindowMaker MiniwindowPreviewBalloons
YES
$ wdread WindowMaker MiniPreviewSize
256


Problem 2:

And at that moment miniwindows doesn't show any kind of mini preview
while balloons still work (I have tried it with balloons turned off
but without change).

So I started the WPrefs changed MiniPreviewSize to 264, saved the
change and closed WPrefs.
wdread confirms it:
$ wdread WindowMaker MiniPreviewSize
264

Mini window preview for miniwindows still doesn't show up.

Then I have tried to use the old variables:
$ wdwrite WindowMaker MiniwindowApercuBalloons YES
$ wdread WindowMaker MiniwindowApercuBalloons
YES

At that moment I can see miniwindow preview for the first time but
they look more like the original default (twice the size of the
miniwindow).

Then I start the WPrefs and change the size of the MiniPreviewSize
to something else, let's say to 256, save and close WPrefs.

Current state:
$ wdread WindowMaker MiniwindowApercuBalloons
YES
$ wdread WindowMaker ApercuSize
$ wdread WindowMaker MiniwindowPreviewBalloons
YES
$ wdread WindowMaker MiniPreviewSize
256

At that moment miniwindow preview shows up as expected, with the size
of 256px.

- exit Windowmaker
- start windowmaker

Miniwindow preview shows up in size as twice the size of the miniwindow
again.


-- 
Josip Deanovic


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.