Ticket #121 (closed bugs: wontfix)

Opened 2 years ago

Last modified 14 months ago

wrong eworkpanel position

Reported by: nobody Owned by: karijes
Priority: normal Milestone: 1.2
Component: ede Version: 1.1
Keywords: Cc:

Description (last modified by karijes) (diff)

efltk 2.0.6
ede 1.1

System: Ubuntu Dapper
Resolution: 1280x1024

ede is launched by putting "exec startede" in .xsession

Problem:
eworkpanel start in wrong vertical position. It is
placed  "height of screen" minus "height of eworkpanel"
pixels too high on the screen. Below the eworkpanel is
a black space instead of the background image. I can
move windows underneath the panel and they will show in
the black space.

How to reproduce:
Every time ede is started this problem occur.

Change History

Changed 2 years ago by karijes

Logged In: YES 
user_id=832040

Hi.

Thank you for brief details (including image)! Seems it 
retrieving wrong monitor resolution. Please can you provide
it's data. Here is how to obtain it:
- open eworkpanel/workpanel.cpp and go to line 616
- uncomment //printf("Free area: %d %d %d %d\n", X,Y,W,H);
- run make

Then find startede (/usr/local/bin/startede usually) and
remove line: "exec eworkpanel". Make sure to for above line
"etip &" remove "&" character. With this, ede will start
without eworkpanel. After you start it, open some terminal,
go to eworkpanel source directory and run ./eworkpanel.

It should show something like Free area: XXX XXX... That
data post here.

PS.
Sorry for bothering you via this way, I don't have nearby
any monitor with that resolution.

Sanel

Changed 2 years ago by nobody

Logged In: NO 

Hello,

No probs here's the data you requested:



Free area: 0 0 1280 1024
No toolbar configuration!
Cannot find default scheme
xbattbar: Can't read proc info: No such file or directory



When starting it like this (executing the workpanel after
everything has loaded) the problem does not show itself.
eworkpanel is located where it should.

I also noticed that the first time I logged in to ede today,
before removing eworkpanel from the startede script, the
problem was not there, but logging out and in again produced
the misplacement.

Jowi

Changed 2 years ago by nobody

Logged In: NO 

Ooops, forgot to mention that if I do let eworkpanel launch
in startede it will of course be in the wrong vertical
position. And if I then start another eworkpanel here's the
output:

Free area: 0 0 1280 994

Jowi

Changed 2 years ago by nobody

Logged In: NO 

I might as well add this while I'm experimenting:

If I let the startede script sleep at the end before
launching eworkpanel the vertical placement is correct

Old code: exec eworkpanel
New code: (sleep 2; exec eworkpanel)

Starting another eworkpanel after ede has loaded produces an
eworkpanel that has the wrong placement. "Free area: 0 0
1280 994"

Jowi

Changed 2 years ago by karijes

Logged In: YES 
user_id=832040

Hello.

Thank you very much on provided details. At least to
know when and how to reproduce this strange things :)

Cheers,
Sanel

Changed 21 months ago by karijes

  • description modified (diff)
  • component changed from Interface (example) to ede
  • priority changed from 5 to normal
  • version changed from EDE to 1.1
  • milestone set to 1.2
  • type changed from Bugs to bugs

Changed 14 months ago by karijes

  • status changed from assigned to closed
  • resolution changed from None to wontfix
Note: See TracTickets for help on using tickets.